summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1995-07-31 21:43:37 +0000
committerbde <bde@FreeBSD.org>1995-07-31 21:43:37 +0000
commit5f4c37d49f595586808ca87bb3b7ca3fb61d8b21 (patch)
treea4918ffc7099b6955781f090125467573179b63d /sys
parentd026806cf898265a05703b1cd4bbf5d8390b435f (diff)
downloadFreeBSD-src-5f4c37d49f595586808ca87bb3b7ca3fb61d8b21.zip
FreeBSD-src-5f4c37d49f595586808ca87bb3b7ca3fb61d8b21.tar.gz
Obtained from: an ancient patch of mine via 1.1.5
Clear PENDIN when input is flushed so that the handling of future input doesn't get pessimized.
Diffstat (limited to 'sys')
-rw-r--r--sys/kern/tty.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/kern/tty.c b/sys/kern/tty.c
index 4476330..f271101 100644
--- a/sys/kern/tty.c
+++ b/sys/kern/tty.c
@@ -36,7 +36,7 @@
* SUCH DAMAGE.
*
* @(#)tty.c 8.8 (Berkeley) 1/21/94
- * $Id: tty.c,v 1.62 1995/07/31 19:17:11 bde Exp $
+ * $Id: tty.c,v 1.63 1995/07/31 21:01:23 bde Exp $
*/
/*-
@@ -1148,6 +1148,7 @@ again:
if (rw & FREAD) {
FLUSHQ(&tp->t_canq);
FLUSHQ(&tp->t_rawq);
+ CLR(tp->t_lflag, PENDIN);
tp->t_rocount = 0;
tp->t_rocol = 0;
CLR(tp->t_state, TS_LOCAL);
OpenPOWER on IntegriCloud