httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From traw...@locus.apache.org
Subject cvs commit: apache-2.0/src/modules/standard mod_file_cache.c
Date Thu, 20 Jul 2000 18:19:36 GMT
trawick     00/07/20 11:19:36

  Modified:    src/modules/standard mod_file_cache.c
  Log:
  Protect some sendfile()-specific logic with APR_HAS_SENDFILE
  so that mod_file_cache can build on a system with no sendfile().
  
  Revision  Changes    Path
  1.18      +2 -0      apache-2.0/src/modules/standard/mod_file_cache.c
  
  Index: mod_file_cache.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/modules/standard/mod_file_cache.c,v
  retrieving revision 1.17
  retrieving revision 1.18
  diff -u -r1.17 -r1.18
  --- mod_file_cache.c	2000/07/10 21:49:22	1.17
  +++ mod_file_cache.c	2000/07/20 18:19:36	1.18
  @@ -202,7 +202,9 @@
           } 
           else 
   #endif 
  +#if APR_HAS_SENDFILE
               ap_close(file->file); 
  +#endif
   	    ++file;
   	    --n;
       }
  
  
  

Mime
View raw message