summaryrefslogtreecommitdiff
path: root/shmem
diff options
context:
space:
mode:
authorBrian Havard <bjh@apache.org>2002-02-12 00:35:21 +0000
committerBrian Havard <bjh@apache.org>2002-02-12 00:35:21 +0000
commit345fe356e95738e5557587257412ac597eee75d9 (patch)
treee9b69d6fa5a19eb92fa9cce824ab12afa12e560c /shmem
parent5d373ddb57b792390aa8977d0bbffb45220be59e (diff)
downloadapr-345fe356e95738e5557587257412ac597eee75d9.tar.gz
OS/2: Fix option flags attaching to an existing shared memory block.
git-svn-id: https://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);