commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mt...@apache.org
Subject svn commit: r821696 - in /commons/sandbox/runtime/trunk/src/main/native/os: unix/fsysio.c win32/fsysio.c
Date Mon, 05 Oct 2009 06:42:00 GMT
Author: mturk
Date: Mon Oct  5 06:41:59 2009
New Revision: 821696

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

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

Modified: commons/sandbox/runtime/trunk/src/main/native/os/unix/fsysio.c
URL: http://svn.apache.org/viewvc/commons/sandbox/runtime/trunk/src/main/native/os/unix/fsysio.c?rev=821696&r1=821695&r2=821696&view=diff
==============================================================================
--- commons/sandbox/runtime/trunk/src/main/native/os/unix/fsysio.c (original)
+++ commons/sandbox/runtime/trunk/src/main/native/os/unix/fsysio.c Mon Oct  5 06:41:59 2009
@@ -134,7 +134,7 @@
     return rc;
 }
 
-static int do_fopen(JNIEnv *_E, char *fname, int flags, int prot,
+static int do_fopen(JNIEnv *_E, const char *fname, int flags, int prot,
                     jobject *fdo)
 {
     int rc = 0;
@@ -359,7 +359,7 @@
         goto finally;
     }
     /* Create File Descriptor Object */
-    fdo = ACR_DescriptorCreate(_E, ACR_DT_FILE, fo, file_cclose,
+    fdo = ACR_DescriptorCreate(_E, ACR_DT_FILE, fo, NULL,
                                descriptor_cleanup);
     if (!fdo) {
         rc = ACR_GET_OS_ERROR();

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=821696&r1=821695&r2=821696&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 Mon Oct  5 06:41:59 2009
@@ -149,7 +149,7 @@
     return rc;
 }
 
-static int do_fopen(ACR_JNISTDARGS, wchar_t *fname, int flags, int prot,
+static int do_fopen(ACR_JNISTDARGS, const wchar_t *fname, int flags, int prot,
                     jobject *fdo)
 {
     int    rc = 0;
@@ -419,7 +419,7 @@
         goto finally;
     }
     /* Create File Descriptor Object */
-    fdo = ACR_DescriptorCreate(_E, ACR_DT_FILE, fo, file_cclose,
+    fdo = ACR_DescriptorCreate(_E, ACR_DT_FILE, fo, NULL,
                                descriptor_cleanup);
     if (!fdo) {
         rc = ACR_GET_OS_ERROR();



Mime
View raw message