NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: kern/31572 (When MIN>1 TIME>0, poll() on tty succeeds but read EAGAINs)
The following reply was made to PR kern/31572; it has been noted by GNATS.
From: christos%zoulas.com@localhost (Christos Zoulas)
To: gnats-bugs%NetBSD.org@localhost, kern-bug-people%netbsd.org@localhost,
netbsd-bugs%netbsd.org@localhost, gnats-admin%netbsd.org@localhost,
dsl%NetBSD.org@localhost,
mouse%Rodents.Montreal.QC.CA@localhost
Cc:
Subject: Re: kern/31572 (When MIN>1 TIME>0, poll() on tty succeeds but read
EAGAINs)
Date: Sun, 20 Dec 2009 12:37:20 -0500
On Dec 20, 11:23am, dsl%NetBSD.org@localhost (dsl%NetBSD.org@localhost) wrote:
-- Subject: Re: kern/31572 (When MIN>1 TIME>0, poll() on tty succeeds but rea
| Synopsis: When MIN>1 TIME>0, poll() on tty succeeds but read EAGAINs
|
| State-Changed-From-To: open->closed
| State-Changed-By: dsl%NetBSD.org@localhost
| State-Changed-When: Sun, 20 Dec 2009 11:23:23 +0000
| State-Changed-Why:
| VTIME > 0 seems to override O_NONBLOCK (probably once 1 char is read) so
| the program no longer loops.
| With VTIME == 0, VMIN == 2 poll doesn't return until 2 chars are available.
| So sometime it has all been fixed.
Yes, I fixed it.
christos
Home |
Main Index |
Thread Index |
Old Index