commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mt...@apache.org
Subject svn commit: r823424 - /commons/sandbox/runtime/trunk/src/main/native/os/win32/fsysio.c
Date Fri, 09 Oct 2009 06:40:54 GMT
Author: mturk
Date: Fri Oct  9 06:40:53 2009
New Revision: 823424

URL: http://svn.apache.org/viewvc?rev=823424&view=rev
Log:
Fix another typos

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

Modified: commons/sandbox/runtime/trunk/src/main/native/os/win32/fsysio.c
URL: http://svn.apache.org/viewvc/commons/sandbox/runtime/trunk/src/main/native/os/win32/fsysio.c?rev=823424&r1=823423&r2=823424&view=diff
==============================================================================
--- commons/sandbox/runtime/trunk/src/main/native/os/win32/fsysio.c (original)
+++ commons/sandbox/runtime/trunk/src/main/native/os/win32/fsysio.c Fri Oct  9 06:40:53 2009
@@ -240,7 +240,7 @@
     fp->flags = flags;
     fp->type  = ACR_FT_REG; /* Presume it's a regular file */
     fp->name  = acr_GetAbsolutePath(_E, fh, fname);
-    if (fp->name) {
+    if (!fp->name) {
         rc = ACR_GET_OS_ERROR();
         goto finally;
     }
@@ -1946,11 +1946,11 @@
     return -1;
 }
 
-ACR_IO_EXPORT_DECLARE(jint, FileWrapper, write5)(ACR_JNISTDARGS,
-                                                 jint file,
-                                                 jobjectArray vec,
-                                                 jint off,
-                                                 jint len)
+ACR_IO_EXPORT_DECLARE(jlong, FileWrapper, write5)(ACR_JNISTDARGS,
+                                                  jint file,
+                                                  jobjectArray vec,
+                                                  jint off,
+                                                  jint len)
 {
     DWORD   i;
     DWORD   pl;



Mime
View raw message