harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a...@apache.org
Subject svn commit: r543217 - /harmony/enhanced/classlib/trunk/modules/portlib/src/main/native/port/windows/hyfile.c
Date Thu, 31 May 2007 19:04:14 GMT
Author: ayza
Date: Thu May 31 12:04:13 2007
New Revision: 543217

URL: http://svn.apache.org/viewvc?view=rev&rev=543217
Log:
Applying patch from HARMONY-4017 ([classlib] incorrect error processing in file reading (Windows)
caused failure on org.apache.harmony.nio.tests.java.nio.channels.FileLockInterruptionExceptionTest)

Modified:
    harmony/enhanced/classlib/trunk/modules/portlib/src/main/native/port/windows/hyfile.c

Modified: harmony/enhanced/classlib/trunk/modules/portlib/src/main/native/port/windows/hyfile.c
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/portlib/src/main/native/port/windows/hyfile.c?view=diff&rev=543217&r1=543216&r2=543217
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/portlib/src/main/native/port/windows/hyfile.c
(original)
+++ harmony/enhanced/classlib/trunk/modules/portlib/src/main/native/port/windows/hyfile.c
Thu May 31 12:04:13 2007
@@ -567,6 +567,7 @@
     }
   if (bytesRead == 0)
     {
+      portLibrary->error_set_last_error (portLibrary, 0, 0);
       return -1;
     }
 



Mime
View raw message