httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r..@locus.apache.org
Subject cvs commit: apache-2.0/src/modules/experimental mod_mmap_static.c
Date Tue, 12 Sep 2000 04:11:56 GMT
rbb         00/09/11 21:11:56

  Modified:    src      CHANGES
               src/modules/experimental mod_mmap_static.c
  Log:
  Fix some compile warnings with mod_mmap_static.c
  PR:	6517
  Submitted by:	Mike Abbott <mja@sgi.com>
  Reviewed by:	Ryan Bloom
  
  Revision  Changes    Path
  1.222     +3 -0      apache-2.0/src/CHANGES
  
  Index: CHANGES
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/CHANGES,v
  retrieving revision 1.221
  retrieving revision 1.222
  diff -u -r1.221 -r1.222
  --- CHANGES	2000/09/12 03:40:14	1.221
  +++ CHANGES	2000/09/12 04:11:54	1.222
  @@ -1,4 +1,7 @@
   Changes with Apache 2.0a7
  +  *) Fix some compile warnings in mod_mmap_static.c
  +     [Mike Abbott <mja@sgi.com>]
  +
     *) Fix chunking problem with CGI scripts.  The general problem was that
        the CGI modules were adding an EOS bucket and then the core added an
        EOS bucket.  The chunking filter finalizes the chunked response when it
  
  
  
  1.21      +2 -1      apache-2.0/src/modules/experimental/mod_mmap_static.c
  
  Index: mod_mmap_static.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/modules/experimental/mod_mmap_static.c,v
  retrieving revision 1.20
  retrieving revision 1.21
  diff -u -r1.20 -r1.21
  --- mod_mmap_static.c	2000/08/06 06:07:38	1.20
  +++ mod_mmap_static.c	2000/09/12 04:11:55	1.21
  @@ -128,6 +128,7 @@
   #include "http_request.h"
   #include "http_core.h"
   #include "apr_mmap.h"
  +#include "apr_strings.h"
   
   module MODULE_VAR_EXPORT mmap_static_module;
   
  @@ -312,7 +313,7 @@
   	    ap_send_mmap (match->mm, r, 0, match->finfo.size);
   	}
   	else {
  -	    unsigned long length;
  +	    apr_size_t length;
   	    apr_off_t offset;
   	    while (ap_each_byterange(r, &offset, &length)) {
   		ap_send_mmap(match->mm, r, offset, length);
  
  
  

Mime
View raw message