httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From f...@locus.apache.org
Subject cvs commit: apache-2.0/src/include ap_buckets.h
Date Tue, 15 Aug 2000 01:27:43 GMT
fanf        00/08/14 18:27:43

  Modified:    src/include ap_buckets.h
  Log:
  The length of a bucket can be as big as any file on disk, so in general
  it must be stored as an apr_off_t. If the bucket contents are in memory
  (i.e. it isn't a FILE bucket) then apr_ssize_t is enough, so this patch
  affects less of the code than you might expect.
  I'm still dubious about the value of this variable since it's so easy to
  get the length from the per-type structure lower down.
  
  Revision  Changes    Path
  1.9       +1 -1      apache-2.0/src/include/ap_buckets.h
  
  Index: ap_buckets.h
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/include/ap_buckets.h,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -u -r1.8 -r1.9
  --- ap_buckets.h	2000/08/15 01:23:59	1.8
  +++ ap_buckets.h	2000/08/15 01:27:42	1.9
  @@ -158,7 +158,7 @@
        *  with a function, but this is an optimization, because the most
        *  common thing to do will be to get the length.
        */
  -    apr_ssize_t length;
  +    apr_off_t length;
   
       /** @tip all of these function pointers may be replaced by some
        *  other means for getting to the functions, like a an index into
  
  
  

Mime
View raw message