commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mt...@apache.org
Subject svn commit: r822145 - /commons/sandbox/runtime/trunk/src/main/native/shared/fsysio.c
Date Tue, 06 Oct 2009 06:20:35 GMT
Author: mturk
Date: Tue Oct  6 06:20:35 2009
New Revision: 822145

URL: http://svn.apache.org/viewvc?rev=822145&view=rev
Log:
Translate to acr_time in Java code

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

Modified: commons/sandbox/runtime/trunk/src/main/native/shared/fsysio.c
URL: http://svn.apache.org/viewvc/commons/sandbox/runtime/trunk/src/main/native/shared/fsysio.c?rev=822145&r1=822144&r2=822145&view=diff
==============================================================================
--- commons/sandbox/runtime/trunk/src/main/native/shared/fsysio.c (original)
+++ commons/sandbox/runtime/trunk/src/main/native/shared/fsysio.c Tue Oct  6 06:20:35 2009
@@ -92,8 +92,8 @@
     return 0;
 }
 
-ACR_IO_EXPORT_DECLARE(jlong, FileWrapper, tmget0)(ACR_JNISTDARGS,
-                                                  jint file)
+ACR_IO_EXPORT_DECLARE(jint, FileWrapper, tmget0)(ACR_JNISTDARGS,
+                                                 jint file)
 {
     acr_file_t *f = (acr_file_t *)ACR_IOH_FDATA(file);
 
@@ -105,7 +105,7 @@
         ACR_THROW_IO_IF_ERR(ACR_EBADF);
         return 0;
     }
-    return (jlong)(f->timeout * 1000);
+    return (jint)f->timeout;
 }
 
 ACR_IO_EXPORT_DECLARE(jstring, FileWrapper, name0)(ACR_JNISTDARGS,



Mime
View raw message