From 3ef603f3b7651a27b0601b051dedac23e5ff2a13 Mon Sep 17 00:00:00 2001 From: Miles Bader Date: Fri, 4 Oct 1996 17:50:40 +0000 Subject: (set_state, open_hook): Call (*BOTTOM)->set_bits unconditionally. --- term/users.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'term') diff --git a/term/users.c b/term/users.c index 9396dd5f..0310a6a5 100644 --- a/term/users.c +++ b/term/users.c @@ -167,9 +167,7 @@ open_hook (struct trivfs_control *cntl, } termflags |= TTY_OPEN; - if (!(termstate.c_cflag & CIGNORE)) - (*bottom->set_bits) (); - + (*bottom->set_bits) (); mutex_unlock (&global_lock); return 0; @@ -1071,8 +1069,8 @@ set_state (io_t port, else termstate.c_lflag &= ~EXTPROC; - if (external_processing || !(termstate.c_cflag & CIGNORE)) - (*bottom->set_bits) (); + (*bottom->set_bits) (); + if (oldlflag & ICANON) { if (!(termstate.c_lflag & ICANON)) -- cgit v1.2.3