You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by st...@apache.org on 2003/03/10 20:02:38 UTC

cvs commit: apr/mmap/unix mmap.c

striker     2003/03/10 11:02:38

  Modified:    mmap/unix mmap.c
  Log:
  * mmap/unix/mmap.c
  
    (apr_mmap_create): Return errno instead of APR_ENOMEM.
  
  Revision  Changes    Path
  1.49      +1 -1      apr/mmap/unix/mmap.c
  
  Index: mmap.c
  ===================================================================
  RCS file: /home/cvs/apr/mmap/unix/mmap.c,v
  retrieving revision 1.48
  retrieving revision 1.49
  diff -u -r1.48 -r1.49
  --- mmap.c	6 Mar 2003 12:21:16 -0000	1.48
  +++ mmap.c	10 Mar 2003 19:02:38 -0000	1.49
  @@ -163,7 +163,7 @@
   
       if (mm == (void *)-1) {
           /* we failed to get an mmap'd file... */
  -        return APR_ENOMEM;
  +        return errno;
       }
   #endif