apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mt...@apache.org
Subject svn commit: r657500 - /apr/apr/trunk/shmem/win32/shm.c
Date Sun, 18 May 2008 07:27:32 GMT
Author: mturk
Date: Sun May 18 00:27:32 2008
New Revision: 657500

URL: http://svn.apache.org/viewvc?rev=657500&view=rev
Log:
Trivial implementation of shm_remove for win32. If we have a backing file try to remove it
instead returning APR_ENOTIMPL.

Modified:
    apr/apr/trunk/shmem/win32/shm.c

Modified: apr/apr/trunk/shmem/win32/shm.c
URL: http://svn.apache.org/viewvc/apr/apr/trunk/shmem/win32/shm.c?rev=657500&r1=657499&r2=657500&view=diff
==============================================================================
--- apr/apr/trunk/shmem/win32/shm.c (original)
+++ apr/apr/trunk/shmem/win32/shm.c Sun May 18 00:27:32 2008
@@ -175,7 +175,7 @@
 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,



Mime
View raw message