summaryrefslogtreecommitdiff
path: root/usr.bin/rdist
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2015-05-10 22:35:40 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2015-05-10 22:35:40 +0000
commit6b2ba645c821fca1defaa24e42655cfaeed52507 (patch)
tree77efdee9c2ebd1e4c3577a2bebed73b666bf10ec /usr.bin/rdist
parent27654dcbfea3fbbda292535b1704b0f40400d6ec (diff)
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 'usr.bin/rdist')
0 files changed, 0 insertions, 0 deletions