37c37
< __FBSDID("$FreeBSD: head/sys/kern/tty_pty.c 116182 2003-06-11 00:56:59Z obrien $");
---
> __FBSDID("$FreeBSD: head/sys/kern/tty_pty.c 120513 2003-09-27 12:44:06Z phk $");
494c494,495
< return (seltrue(dev, events, td) | POLLHUP);
---
> return (events &
> (POLLHUP | POLLIN | POLLRDNORM | POLLOUT | POLLWRNORM));
< __FBSDID("$FreeBSD: head/sys/kern/tty_pty.c 116182 2003-06-11 00:56:59Z obrien $");
---
> __FBSDID("$FreeBSD: head/sys/kern/tty_pty.c 120513 2003-09-27 12:44:06Z phk $");
494c494,495
< return (seltrue(dev, events, td) | POLLHUP);
---
> return (events &
> (POLLHUP | POLLIN | POLLRDNORM | POLLOUT | POLLWRNORM));