CVSROOT: /cvsroot/classpath
Module name: classpath
Changes by: Brian Jones <cbj@xxxxxxx> 03/05/01 22:44:41
Modified files:
. : ChangeLog
native/jni/java-io: FileDescriptor.c
Log message:
2003-05-01 David P. Grove <groved@xxxxxxxxxx>
This patch fixes a regression for the past month that made it
difficult to read files larger than 2^16 bytes.
* native/jni/java-io/FileDescriptor.c
(CONVERT_JLONG_TO_INT): modified macro to fix large file problem
(CONVERT_JINT_TO_INT): ditto
(CONVERT_SSIZE_T_TO_INT): new macro
(Java_java_io_FileDescriptor_nativeReadBuf): use
CONVERT_SSIZE_T_TO_INT macro
(Java_java_io_FileDescriptor_nativeAvailable): ditto
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/ChangeLog.diff?tr1=1.1027&tr2=1.1028&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/native/jni/java-io/FileDescriptor.c.diff?tr1=1.9&tr2=1.10&r1=text&r2=text
|