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)



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