[prev in list] [next in list] [prev in thread] [next in thread] 

List:       apr-cvs
Subject:    svn commit: r570290 - /apr/apr/branches/1.2.x/shmem/win32/shm.c
From:       wrowe () apache ! org
Date:       2007-08-28 1:24:51
Message-ID: 20070828012452.2785D1A9838 () eris ! apache ! org
[Download RAW message or body]

Author: wrowe
Date: Mon Aug 27 18:24:51 2007
New Revision: 570290

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

PR: 43178
Backport: r570289

Modified:
    apr/apr/branches/1.2.x/shmem/win32/shm.c

Modified: apr/apr/branches/1.2.x/shmem/win32/shm.c
URL: http://svn.apache.org/viewvc/apr/apr/branches/1.2.x/shmem/win32/shm.c?rev=570290&r1=570289&r2=570290&view=diff
 ==============================================================================
--- apr/apr/branches/1.2.x/shmem/win32/shm.c (original)
+++ apr/apr/branches/1.2.x/shmem/win32/shm.c Mon Aug 27 18:24:51 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;
     }


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic