apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@apache.org
Subject svn commit: r570289 - /apr/apr/trunk/shmem/win32/shm.c
Date Tue, 28 Aug 2007 01:23:59 GMT
Author: wrowe
Date: Mon Aug 27 18:23:59 2007
New Revision: 570289

URL: http://svn.apache.org/viewvc?rev=570289&view=rev
Log:
apr_status_t code, not Win32 error code.

PR: 43178

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=570289&r1=570288&r2=570289&view=diff
==============================================================================
--- apr/apr/trunk/shmem/win32/shm.c (original)
+++ apr/apr/trunk/shmem/win32/shm.c Mon Aug 27 18:23:59 2007
@@ -133,7 +133,7 @@
         apr_file_close(f);
     }
 
-    if (hMap && err == ERROR_ALREADY_EXISTS) {
+    if (hMap && APR_STATUS_IS_EEXIST(err)) {
         CloseHandle(hMap);
         return APR_EEXIST;
     }



Mime
View raw message