CVSROOT: /cvs Module name: src Changes by: [email protected] 2021/12/25 04:27:19
Modified files:
regress/sys/kern/poll: poll_iocond.c
Log message:
Adjust pty case for kqueue-based poll(2)
Unlike the old code, kqueue-based poll(2) sets POLLIN when the other
end of a pty has been closed. Calling read(2) on such a pty returns
zero anyway. FreeBSD sets POLLIN too.
