summaryrefslogtreecommitdiff
path: root/shmem
diff options
context:
space:
mode:
authorMladen Turk <mturk@apache.org>2008-05-18 07:27:32 +0000
committerMladen Turk <mturk@apache.org>2008-05-18 07:27:32 +0000
commit5cf01c19cd9e43eb282c48961141729ee2277671 (patch)
treedcba881f8732dfb2989cdfea351ac7ac76d383e9 /shmem
parente3297390a088a980567c21780ef71263249f55b5 (diff)
downloadapr-5cf01c19cd9e43eb282c48961141729ee2277671.tar.gz
Trivial implementation of shm_remove for win32. If we have a backing file try to remove it instead returning APR_ENOTIMPL.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@657500 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'shmem')
-rw-r--r--shmem/win32/shm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shmem/win32/shm.c b/shmem/win32/shm.c
index 7bce1331b..580421e33 100644
--- a/shmem/win32/shm.c
+++ b/shmem/win32/shm.c
@@ -175,7 +175,7 @@ APR_DECLARE(apr_status_t) apr_shm_destroy(apr_shm_t *m)
APR_DECLARE(apr_status_t) apr_shm_remove(const char *filename,
apr_pool_t *pool)
{
- return APR_ENOTIMPL;
+ return apr_file_remove(filename, pool);
}
APR_DECLARE(apr_status_t) apr_shm_attach(apr_shm_t **m,