diff options
author | Theo Buehler <tb@cvs.openbsd.org> | 2019-03-06 09:36:28 +0000 |
---|---|---|
committer | Theo Buehler <tb@cvs.openbsd.org> | 2019-03-06 09:36:28 +0000 |
commit | 91dca9bcbc525c8f334957c2dc8601d256a111f8 (patch) | |
tree | 9c81bbf312ec7d7c681177c8b1d29bfb23858ae9 /sys/kern/tty_pty.c | |
parent | e7901272c51556557c87bcdf278c392f3c264dd3 (diff) |
Revert revision 1.91. It results in significant log spam when
running vmd, as observed by mlarkin and myself.
discussed with anton and mlarkin
Diffstat (limited to 'sys/kern/tty_pty.c')
-rw-r--r-- | sys/kern/tty_pty.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/sys/kern/tty_pty.c b/sys/kern/tty_pty.c index abf48e27d56..51daa1385a4 100644 --- a/sys/kern/tty_pty.c +++ b/sys/kern/tty_pty.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tty_pty.c,v 1.91 2019/03/04 19:23:02 anton Exp $ */ +/* $OpenBSD: tty_pty.c,v 1.92 2019/03/06 09:36:27 tb Exp $ */ /* $NetBSD: tty_pty.c,v 1.33.4.1 1996/06/02 09:08:11 mrg Exp $ */ /* @@ -678,12 +678,6 @@ filt_ptcread(struct knote *kn, long hint) ((pti->pt_flags & PF_UCNTL) && pti->pt_ucntl)) kn->kn_data++; } - - if (!ISSET(tp->t_state, TS_CARR_ON)) { - kn->kn_flags |= EV_EOF; - return (1); - } - return (kn->kn_data > 0); } |