You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by mt...@apache.org on 2009/10/09 08:40:54 UTC
svn commit: r823424 -
/commons/sandbox/runtime/trunk/src/main/native/os/win32/fsysio.c
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;