bjh 02/05/11 21:34:46
Modified: buckets apr_buckets_file.c
Log:
Fix a missed #if APR_HAS_MMAP
Revision Changes Path
1.71 +2 -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.70
retrieving revision 1.71
diff -u -r1.70 -r1.71
--- apr_buckets_file.c 11 May 2002 23:29:16 -0000 1.70
+++ apr_buckets_file.c 12 May 2002 04:34:46 -0000 1.71
@@ -198,7 +198,9 @@
f = apr_bucket_alloc(sizeof(*f), b->list);
f->fd = fd;
f->readpool = p;
+#if APR_HAS_MMAP
f->can_mmap = 1;
+#endif
b = apr_bucket_shared_make(b, f, offset, len);
b->type = &apr_bucket_type_file;