kern/76144: [fifo] poll doesn't set POLLHUP when FIFO is closed

arundel at FreeBSD.org arundel at FreeBSD.org
Mon Sep 6 23:56:57 UTC 2010


Synopsis: [fifo] poll doesn't set POLLHUP when FIFO is closed

State-Changed-From-To: open->feedback
State-Changed-By: arundel
State-Changed-When: Mon Sep 6 23:52:19 UTC 2010
State-Changed-Why: 
I ran the test you mentioned in this PR under a very recent HEAD and got the
following output with 'fifo_poll' exiting (not looping):

poll() returned 1
revents = 1
read() returned 4
poll() returned 1
revents = 17
read() returned 0

Recompiling and running 'fifo_poll' under Linux returned the same result. Could
you check, if this issue still exists in a supported branch?
Thanks.

http://www.freebsd.org/cgi/query-pr.cgi?pr=76144


More information about the freebsd-bugs mailing list