diff options
author | Miles Bader <miles@gnu.org> | 1996-10-04 17:50:40 +0000 |
---|---|---|
committer | Miles Bader <miles@gnu.org> | 1996-10-04 17:50:40 +0000 |
commit | 3ef603f3b7651a27b0601b051dedac23e5ff2a13 (patch) | |
tree | 194e09a8611c62c1f776f82e70f62bca7d08172c /term/users.c | |
parent | 5052a003ae7460e35380a9064591133cb4e668a2 (diff) |
(set_state, open_hook): Call (*BOTTOM)->set_bits unconditionally.
Diffstat (limited to 'term/users.c')
-rw-r--r-- | term/users.c | 8 |
1 files changed, 3 insertions, 5 deletions
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)) |