You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by bj...@apache.org on 2002/02/12 01:35:21 UTC
cvs commit: apr/shmem/os2 shm.c
bjh 02/02/11 16:35:21
Modified: shmem/os2 shm.c
Log:
OS/2: Fix option flags attaching to an existing shared memory block.
Revision Changes Path
1.6 +1 -1 apr/shmem/os2/shm.c
Index: shm.c
===================================================================
RCS file: /home/cvs/apr/shmem/os2/shm.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- shm.c 28 Jan 2002 05:32:32 -0000 1.5
+++ shm.c 12 Feb 2002 00:35:21 -0000 1.6
@@ -107,7 +107,7 @@
int rc;
apr_shm_t *newm = (apr_shm_t *)apr_palloc(pool, sizeof(apr_shm_t));
char *name = NULL;
- ULONG flags = PAG_COMMIT|PAG_READ|PAG_WRITE;
+ ULONG flags = PAG_READ|PAG_WRITE;
newm->pool = pool;
name = apr_pstrcat(pool, "\\SHAREMEM\\", filename, NULL);