commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mt...@apache.org
Subject svn commit: r805335 - /commons/sandbox/runtime/trunk/src/main/native/os/win32/file.c
Date Tue, 18 Aug 2009 09:55:19 GMT
Author: mturk
Date: Tue Aug 18 09:55:19 2009
New Revision: 805335

URL: http://svn.apache.org/viewvc?rev=805335&view=rev
Log:
Set error to 0 if OK

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

Modified: commons/sandbox/runtime/trunk/src/main/native/os/win32/file.c
URL: http://svn.apache.org/viewvc/commons/sandbox/runtime/trunk/src/main/native/os/win32/file.c?rev=805335&r1=805334&r2=805335&view=diff
==============================================================================
--- commons/sandbox/runtime/trunk/src/main/native/os/win32/file.c (original)
+++ commons/sandbox/runtime/trunk/src/main/native/os/win32/file.c Tue Aug 18 09:55:19 2009
@@ -828,6 +828,8 @@
         rv = (jlong)ACR_FileInodeGet(NULL, J2W(pathname));
         if (rv == 0)
             ex = ACR_GET_OS_ERROR();
+        else
+            ex = 0;
     } END_WITH_WSTR(pathname);
 
     if (ex) {



Mime
View raw message