jwoolley    01/06/25 20:20:32

  Modified:    buckets  apr_buckets_mmap.c
  Log:
  Get the prototype for memcpy().
  
  PS: I still question the copying of the mmap data into the pool in
  pool_setaside()... it seems to me that it's easy for that to accidentally
  copy a very large file in its entirety into memory.  What am I missing?
  
  Revision  Changes    Path
  1.39      +2 -1      apr-util/buckets/apr_buckets_mmap.c
  
  Index: apr_buckets_mmap.c
  ===================================================================
  RCS file: /home/cvs/apr-util/buckets/apr_buckets_mmap.c,v
  retrieving revision 1.38
  retrieving revision 1.39
  diff -u -d -u -r1.38 -r1.39
  --- apr_buckets_mmap.c        2001/06/19 18:48:28     1.38
  +++ apr_buckets_mmap.c        2001/06/26 03:20:31     1.39
  @@ -53,7 +53,8 @@
    */
   
   #include "apr_buckets.h"
  -#include "apr.h"
  +#define APR_WANT_MEMFUNC
  +#include "apr_want.h"
   #include <stdlib.h>
   
   #if APR_HAS_MMAP
  
  
  

Reply via email to