brianp 02/05/11 16:29:16
Modified: buckets apr_buckets_file.c
Log:
Added missing initialization for apr_bucket_file->can_mmap
Revision Changes Path
1.70 +1 -0 apr-util/buckets/apr_buckets_file.c
Index: apr_buckets_file.c
===================================================================
RCS file: /home/cvs/apr-util/buckets/apr_buckets_file.c,v
retrieving revision 1.69
retrieving revision 1.70
diff -u -r1.69 -r1.70
--- apr_buckets_file.c 11 May 2002 23:10:24 -0000 1.69
+++ apr_buckets_file.c 11 May 2002 23:29:16 -0000 1.70
@@ -198,6 +198,7 @@
f = apr_bucket_alloc(sizeof(*f), b->list);
f->fd = fd;
f->readpool = p;
+ f->can_mmap = 1;
b = apr_bucket_shared_make(b, f, offset, len);
b->type = &apr_bucket_type_file;