summaryrefslogtreecommitdiff
path: root/shmem
diff options
context:
space:
mode:
authorbjh <bjh@13f79535-47bb-0310-9956-ffa450edef68>2002-02-12 00:35:21 +0000
committerbjh <bjh@13f79535-47bb-0310-9956-ffa450edef68>2002-02-12 00:35:21 +0000
commit01f479d6dd436a22cc286a495429e6d6963f43bf (patch)
treee9b69d6fa5a19eb92fa9cce824ab12afa12e560c /shmem
parent389345e7de3744c21c7d0d0875466b87433d5400 (diff)
downloadlibapr-01f479d6dd436a22cc286a495429e6d6963f43bf.tar.gz
OS/2: Fix option flags attaching to an existing shared memory block.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@62947 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'shmem')
-rw-r--r--shmem/os2/shm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shmem/os2/shm.c b/shmem/os2/shm.c
index 9830ba205..0dc05fae2 100644
--- a/shmem/os2/shm.c
+++ b/shmem/os2/shm.c
@@ -107,7 +107,7 @@ APR_DECLARE(apr_status_t) apr_shm_attach(apr_shm_t **m,
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);