You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by ni...@apache.org on 2004/09/11 12:45:06 UTC

cvs commit: httpd-2.0/modules/experimental mod_filter.c

niq         2004/09/11 03:45:06

  Modified:    modules/experimental mod_filter.c
  Log:
  Add #if APR_HAS_MMAP to fix for non-MMAPing platforms.
  
  Revision  Changes    Path
  1.2       +3 -1      httpd-2.0/modules/experimental/mod_filter.c
  
  Index: mod_filter.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/experimental/mod_filter.c,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- mod_filter.c	10 Sep 2004 16:17:15 -0000	1.1
  +++ mod_filter.c	11 Sep 2004 10:45:06 -0000	1.2
  @@ -102,7 +102,7 @@
       mod_filter_chain* chain ;
   } mod_filter_cfg ;
   
  -const char* filter_bucket_type(apr_bucket* b)
  +static const char* filter_bucket_type(apr_bucket* b)
   {
       static struct {
           const void* fn ;
  @@ -115,7 +115,9 @@
           { &apr_bucket_type_eos, "EOS" } ,
           { &apr_bucket_type_flush, "FLUSH" } ,
           { &apr_bucket_type_file, "FILE" } ,
  +#if APR_HAS_MMAP
           { &apr_bucket_type_mmap, "MMAP" } ,
  +#endif
           { &apr_bucket_type_pipe, "PIPE" } ,
           { &apr_bucket_type_socket, "SOCKET" } ,
           { NULL, NULL }