summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>2015-05-10 22:35:38 +0000
committermillert <millert@openbsd.org>2015-05-10 22:35:38 +0000
commitb7b44fe5796e416f560eb15867dc757db11a47d6 (patch)
tree43200ee9dc037d16b8ec01bf207e4f187da941f0 /lib/libc/stdlib
parentAdd _bfd_ar_spacepadll() for formatting long long values in archive headers. (diff)
downloadwireguard-openbsd-b7b44fe5796e416f560eb15867dc757db11a47d6.tar.xz
wireguard-openbsd-b7b44fe5796e416f560eb15867dc757db11a47d6.zip
Set POLLHUP even if no valid events were specified as per POSIX.
Since we use the poll backend for select(2), care must be taken not to set the fd's bit in writefds in this case. A kernel-only flag, POLLNOHUP, is used by selscan() to tell the poll backend not to return POLLHUP on EOF. This is currently only used by fifo_poll(). The fifofs regress now passes. OK guenther@
Diffstat (limited to 'lib/libc/stdlib')
0 files changed, 0 insertions, 0 deletions