Date: Sun, 23 Aug 2009 12:44:15 +0000 (UTC) From: Konstantin Belousov <kib@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/kern sys_generic.c uipc_socket.c Message-ID: <200908231244.n7NCiQ6Z061784@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
kib 2009-08-23 12:44:15 UTC
FreeBSD src repository
Modified files:
sys/kern sys_generic.c uipc_socket.c
Log:
SVN rev 196460 on 2009-08-23 12:44:15Z by kib
Fix the conformance of poll(2) for sockets after r195423 by
returning POLLHUP instead of POLLIN for several cases. Now, the
tools/regression/poll results for FreeBSD are closer to that of the
Solaris and Linux.
Also, improve the POSIX conformance by explicitely clearing POLLOUT
when POLLHUP is reported in pollscan(), making the fix global.
Submitted by: bde
Reviewed by: rwatson
MFC after: 1 week
Revision Changes Path
1.176 +7 -0 src/sys/kern/sys_generic.c
1.341 +5 -7 src/sys/kern/uipc_socket.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200908231244.n7NCiQ6Z061784>
