apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j..@apache.org
Subject svn commit: r1561347 - /apr/apr/trunk/shmem/unix/shm.c
Date Sat, 25 Jan 2014 17:57:25 GMT
Author: jim
Date: Sat Jan 25 17:57:25 2014
New Revision: 1561347

URL: http://svn.apache.org/r1561347
Log:
Revert mistaken c/p

Modified:
    apr/apr/trunk/shmem/unix/shm.c

Modified: apr/apr/trunk/shmem/unix/shm.c
URL: http://svn.apache.org/viewvc/apr/apr/trunk/shmem/unix/shm.c?rev=1561347&r1=1561346&r2=1561347&view=diff
==============================================================================
--- apr/apr/trunk/shmem/unix/shm.c (original)
+++ apr/apr/trunk/shmem/unix/shm.c Sat Jan 25 17:57:25 2014
@@ -325,7 +325,7 @@ APR_DECLARE(apr_status_t) apr_shm_create
             shm_unlink(shm_name); /* we're failing, remove the object */
             return status;
         }
-        new_m->base = mmap(NULL, new_m->realsize, PROT_READ | PROT_WRITE,
+        new_m->base = mmap(NULL, reqsize, PROT_READ | PROT_WRITE,
                            MAP_SHARED, tmpfd, 0);
 
         /* FIXME: check for errors */



Mime
View raw message