tag 286862 + patch thanks Hi,
I believe the attached patch should fix the problem. It atleast fixes the regression test failure. Kurt
Index: libraries/clib/nio/FileChannelImpl.c =================================================================== RCS file: /cvs/kaffe/kaffe/libraries/clib/nio/FileChannelImpl.c,v retrieving revision 1.8 diff -u -r1.8 FileChannelImpl.c --- libraries/clib/nio/FileChannelImpl.c 14 Nov 2004 18:02:24 -0000 1.8 +++ libraries/clib/nio/FileChannelImpl.c 16 Apr 2005 00:19:42 -0000 @@ -410,7 +410,7 @@ int rc; uint8 one_byte; int nativeFd = (int)getFD(env, filechannel); - int ret; + ssize_t ret; do { @@ -464,7 +464,7 @@ int rc; int nativeFd = (int)getFD(env, filechannel); uint8 real_byte = byte; - int ret; + ssize_t ret; do { rc = KWRITE(nativeFd, &real_byte, 1, &ret);