apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r..@locus.apache.org
Subject cvs commit: apr-util/src/buckets ap_buckets_file.c
Date Thu, 07 Dec 2000 05:01:14 GMT
rbb         00/12/06 21:01:14

  Modified:    src/buckets ap_buckets_file.c
  Log:
  Port apr-util to the newest MMAP API
  
  Revision  Changes    Path
  1.13      +2 -1      apr-util/src/buckets/ap_buckets_file.c
  
  Index: ap_buckets_file.c
  ===================================================================
  RCS file: /home/cvs/apr-util/src/buckets/ap_buckets_file.c,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- ap_buckets_file.c	2000/12/06 04:42:34	1.12
  +++ ap_buckets_file.c	2000/12/07 05:01:14	1.13
  @@ -102,7 +102,8 @@
           /* we need to protect ourselves in case we die while we've got the
            * file mmapped */
           apr_status_t status;
  -        if ((status = apr_mmap_create(&mm, f, a->offset, e->length, NULL)) !=
APR_SUCCESS) {
  +        if ((status = apr_mmap_create(&mm, f, a->offset, e->length, 
  +                                      APR_MMAP_READ, NULL)) != APR_SUCCESS) {
               mm = NULL;
           }
       }
  
  
  

Mime
View raw message