apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jwool...@apache.org
Subject cvs commit: apr/mmap/win32 mmap.c
Date Thu, 18 Apr 2002 20:26:40 GMT
jwoolley    02/04/18 13:26:40

  Modified:    mmap/win32 mmap.c
  Log:
  Make this match the new unix version.
  
  Revision  Changes    Path
  1.14      +1 -7      apr/mmap/win32/mmap.c
  
  Index: mmap.c
  ===================================================================
  RCS file: /home/cvs/apr/mmap/win32/mmap.c,v
  retrieving revision 1.13
  retrieving revision 1.14
  diff -u -d -u -r1.13 -r1.14
  --- mmap.c	10 Apr 2002 04:54:21 -0000	1.13
  +++ mmap.c	18 Apr 2002 20:26:40 -0000	1.14
  @@ -199,13 +199,7 @@
   
   APR_DECLARE(apr_status_t) apr_mmap_delete(apr_mmap_t *mm)
   {
  -    apr_status_t rv;
  -
  -    if ((rv = mmap_cleanup(mm)) == APR_SUCCESS) {
  -        apr_pool_cleanup_kill(mm->cntxt, mm, mmap_cleanup);
  -        return APR_SUCCESS;
  -    }
  -    return rv;
  +    return apr_pool_cleanup_run(mm->cntxt, mm, mmap_cleanup);
   }
   
   #endif
  
  
  

Mime
View raw message