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/05 08:42:00 UTC
svn commit: r821696 - in /commons/sandbox/runtime/trunk/src/main/native/os:
unix/fsysio.c win32/fsysio.c
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();