summaryrefslogtreecommitdiff
path: root/shmem
diff options
context:
space:
mode:
authormturk <mturk@13f79535-47bb-0310-9956-ffa450edef68>2008-05-18 07:27:32 +0000
committermturk <mturk@13f79535-47bb-0310-9956-ffa450edef68>2008-05-18 07:27:32 +0000
commitcdc6562f3a64d1678dac7b99549050c6b8e3bd17 (patch)
treedcba881f8732dfb2989cdfea351ac7ac76d383e9 /shmem
parent47506f40353098426f101d5a1562e3ebcd3838ca (diff)
downloadlibapr-cdc6562f3a64d1678dac7b99549050c6b8e3bd17.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: http://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,