Date: Mon, 14 Jan 2002 14:03:48 -0800 (PST) From: Alfred Perlstein <alfred@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/fs/fifofs fifo_vnops.c src/sys/kern uipc_socket.c src/sys/sys poll.h Message-ID: <200201142203.g0EM3mi51049@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
alfred 2002/01/14 14:03:48 PST
Modified files:
sys/fs/fifofs fifo_vnops.c
sys/kern uipc_socket.c
sys/sys poll.h
Log:
Fix select on fifos.
Backout revision 1.56 and 1.57 of fifo_vnops.c.
Introduce a new poll op "POLLINIGNEOF" that can be used to ignore
EOF on a fifo, POLLIN/POLLRDNORM is converted to POLLINIGNEOF within
the FIFO implementation to effect the correct behavior.
This should allow one to view a fifo pretty much as a data source
rather than worry about connections coming and going.
Reviewed by: bde
Revision Changes Path
1.62 +28 -10 src/sys/fs/fifofs/fifo_vnops.c
1.108 +8 -1 src/sys/kern/uipc_socket.c
1.9 +5 -2 src/sys/sys/poll.h
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200201142203.g0EM3mi51049>
