Date: Sun, 19 Dec 1999 17:24:20 +0900 From: "Shin'ya Kumabuchi" <kumabu@t3.rim.or.jp> To: gnats-admin@FreeBSD.org, freebsd-bugs@FreeBSD.org Subject: Re: i386/15553: Linux Emulation don't emulate accept(2) exactly Message-ID: <19991219172420A.kumabu@t3.rim.or.jp> In-Reply-To: Your message of "Sat, 18 Dec 1999 13:30:00 -0800 (PST)" <199912182130.NAA38938@freefall.freebsd.org> References: <199912182130.NAA38938@freefall.freebsd.org>
index | next in thread | previous in thread | raw e-mail
Hi, I reported this PR.
I'm sorry I wrote incorrect explanation in some section.
How-To-Repeat:
// read() causes Exception on Linux Emulation,
// if no available data has received
sock.getInputStream().read();
->
At first time read() blocks anyway.
But once data recieved, read() causes Exception when no more data
available.
Fix:
not
fp->f_flag = O_RDWR;
but
fp->f_flag = FREAD | FWRITE;
regards.
--
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message
home |
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19991219172420A.kumabu>
