On Dec 5, 2006, at 2:04 AM, Roman Kennke wrote:
Am Dienstag, den 05.12.2006, 10:01 +0000 schrieb Andrew Haley:
Roman Kennke writes:
I did it like that and it solved all my problems :-)
But surely you have the same problem with any other callers of
cpio_connect, or indeed cpio_*. You only fixed the bug in one place.
Yeah I agree. I was wondering the same, but I decided to follow what
Mark did and fix it in VMChannel. Maybe should pull all these fixes
into
javanio.c then?
No. I explained this elsewhere, but that is not the point of the
functions in javanio.c. The cpnio functions are meant to guarantee
POSIX semantics, including the goofy errors you might get when using
them; they only try to introduce an as-light-as-possible layer of
insulation between the native code and blocking syscalls.