[kaffe] CVS kaffe (robilad): Cleanup in FileChannelImpl
Kaffe CVS
cvs-commits at kaffe.org
Wed Jan 4 17:41:51 PST 2006
PatchSet 7073
Date: 2006/01/05 01:33:05
Author: robilad
Branch: HEAD
Tag: (none)
Log:
Cleanup in FileChannelImpl
2006-01-04 Andreas Tobler <a.tobler at schweiz.ch>
* libraries/clib/nio/gnu_java_nio_channels_FileChannelImpl.c
(Java_gnu_java_nio_channels_FileChannelImpl_implTruncate): Use the same
type for bytes_written as in other places.
Members:
ChangeLog:1.4592->1.4593
libraries/clib/nio/gnu_java_nio_channels_FileChannelImpl.c:1.4->1.5
Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.4592 kaffe/ChangeLog:1.4593
--- kaffe/ChangeLog:1.4592 Tue Jan 3 22:36:50 2006
+++ kaffe/ChangeLog Thu Jan 5 01:33:05 2006
@@ -1,3 +1,9 @@
+2006-01-04 Andreas Tobler <a.tobler at schweiz.ch>
+
+ * libraries/clib/nio/gnu_java_nio_channels_FileChannelImpl.c
+ (Java_gnu_java_nio_channels_FileChannelImpl_implTruncate): Use the same
+ type for bytes_written as in other places.
+
2006-01-03 Dalibor Topic <robilad at kaffe.org>
* external/gcc/Makefile.am: build zlib conditionally.
Index: kaffe/libraries/clib/nio/gnu_java_nio_channels_FileChannelImpl.c
diff -u kaffe/libraries/clib/nio/gnu_java_nio_channels_FileChannelImpl.c:1.4 kaffe/libraries/clib/nio/gnu_java_nio_channels_FileChannelImpl.c:1.5
--- kaffe/libraries/clib/nio/gnu_java_nio_channels_FileChannelImpl.c:1.4 Mon Aug 8 02:52:15 2005
+++ kaffe/libraries/clib/nio/gnu_java_nio_channels_FileChannelImpl.c Thu Jan 5 01:33:10 2006
@@ -384,7 +384,7 @@
{
int native_fd;
jlong file_size;
- int bytes_written;
+ ssize_t bytes_written;
jlong save_offset, new_offset;
char data;
int result;
More information about the kaffe
mailing list