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 Wed, 05 Jul 2000 18:44:41 GMT
trawick     00/07/05 11:44:40

  Modified:    src/modules/standard mod_file_cache.c
  Log:
  struct a_file needs field mm to compile at all when
  APR_HAS_MMAP is defined
  
  check for APR_HAS_SENDFILE around the declaration of
  file; most of the other sendfile logic does this already
  Submitted by:	Greg Ames
  Reviewed by:	Jeff Trawick
  
  Revision  Changes    Path
  1.12      +5 -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.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- mod_file_cache.c	2000/06/28 19:19:46	1.11
  +++ mod_file_cache.c	2000/07/05 18:44:37	1.12
  @@ -134,10 +134,15 @@
   static int once_through = 0;
   
   typedef struct {
  +#if APR_HAS_SENDFILE
       ap_file_t *file;
  +#endif
       char *filename;
       ap_finfo_t finfo;
       int is_mmapped;
  +#if APR_HAS_MMAP
  +    ap_mmap_t *mm;
  +#endif
   } a_file;
   
   typedef struct {
  
  
  

Mime
View raw message