[Xcb] [Bug 23811] xts5 test regression with libxcb-1.3

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Sep 9 13:38:01 PDT 2009


http://bugs.freedesktop.org/show_bug.cgi?id=23811





--- Comment #3 from Julien Cristau <jcristau at debian.org>  2009-09-09 13:38:01 PST ---
> --- Comment #1 from Julien Cristau <jcristau at debian.org>  2009-09-09 08:13:29 PST ---
> I wonder if the check for POLLIN shouldn't also check for POLLHUP/POLLERR. 
> select() returns an fd as readable on EOF, whereas poll(2) says POLLIN means
> "There is data to read."
> 
Apparently linux returns POLLIN on a closed socket, so scratch that.
(http://www.greenend.org.uk/rjk/2001/06/poll.html)


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the Xcb mailing list