commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mt...@apache.org
Subject svn commit: r804628 - /commons/sandbox/runtime/trunk/src/main/native/os/win32/shm.c
Date Sun, 16 Aug 2009 05:52:04 GMT
Author: mturk
Date: Sun Aug 16 05:52:04 2009
New Revision: 804628

URL: http://svn.apache.org/viewvc?rev=804628&view=rev
Log:
Fix typo

Modified:
    commons/sandbox/runtime/trunk/src/main/native/os/win32/shm.c

Modified: commons/sandbox/runtime/trunk/src/main/native/os/win32/shm.c
URL: http://svn.apache.org/viewvc/commons/sandbox/runtime/trunk/src/main/native/os/win32/shm.c?rev=804628&r1=804627&r2=804628&view=diff
==============================================================================
--- commons/sandbox/runtime/trunk/src/main/native/os/win32/shm.c (original)
+++ commons/sandbox/runtime/trunk/src/main/native/os/win32/shm.c Sun Aug 16 05:52:04 2009
@@ -311,7 +311,7 @@
     rc = acr_ioh_close(shm);
 finally:
     if (rc && !IS_INVALID_HANDLE(_E)) {
-        if (rv == EACCES)
+        if (rc == EACCES)
             ACR_ThrowException(_E, THROW_NMARK, ACR_EX_ESECURITY, 0);
         else
             ACR_ThrowException(_E, THROW_NMARK, ACR_EX_EIO, rc);



Mime
View raw message