commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mt...@apache.org
Subject svn commit: r829139 - in /commons/sandbox/runtime/trunk/src/main/native: os/win32/file.c test/testcase.c
Date Fri, 23 Oct 2009 17:29:57 GMT
Author: mturk
Date: Fri Oct 23 17:29:57 2009
New Revision: 829139

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

Modified:
    commons/sandbox/runtime/trunk/src/main/native/os/win32/file.c
    commons/sandbox/runtime/trunk/src/main/native/test/testcase.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=829139&r1=829138&r2=829139&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 Fri Oct 23 17:29:57 2009
@@ -387,7 +387,7 @@
                             if (nlen > ACR_HBUFF_LEN)
                                 nlen = ACR_HBUFF_LEN;
                             wcslcpy(ub, wb, nlen + 1);
-                            rv = aACR_NewPathObject(_E, ACR_PATH_ABS, ub);
+                            rv = ACR_NewPathObject(_E, ACR_PATH_ABS, ub);
                         }
                     break;
                     default:

Modified: commons/sandbox/runtime/trunk/src/main/native/test/testcase.c
URL: http://svn.apache.org/viewvc/commons/sandbox/runtime/trunk/src/main/native/test/testcase.c?rev=829139&r1=829138&r2=829139&view=diff
==============================================================================
--- commons/sandbox/runtime/trunk/src/main/native/test/testcase.c (original)
+++ commons/sandbox/runtime/trunk/src/main/native/test/testcase.c Fri Oct 23 17:29:57 2009
@@ -26,6 +26,7 @@
 #include "acr_pointer.h"
 #include "acr_descriptor.h"
 #include "acr_file.h"
+#include "acr_fileio.h"
 #include "acr_endian.h"
 #include "acr_xdr.h"
 #include "acr_shm.h"
@@ -590,7 +591,7 @@
     fflush(stdout);
 #endif
 
-    return ldfile(_E);
+    return 0;
 }
 
 ACR_JNI_EXPORT_DECLARE(jobject, TestFile, ftest01)(ACR_JNISTDARGS, jstring f, jint t)
@@ -598,11 +599,11 @@
     jobject rv = NULL;
 #ifdef _WIN32
     WITH_WSTR(f) {
-        rv =  ACR_IoFileObjectCreate(_E, J2W(f), t);
+        rv =  ACR_NewPathObject(_E, t, J2W(f));
     } END_WITH_WSTR(f);
 #else
     WITH_CSTR(f) {
-        rv =  ACR_IoFileObjectCreate(_E, J2S(f), t);
+        rv =  ACR_NewPathObject(_E, t, J2S(f));
     } END_WITH_CSTR(f);
 #endif
 



Mime
View raw message