patch-2.1.68 linux/drivers/char/n_tty.c
Next file: linux/drivers/char/pcwd.c
Previous file: linux/drivers/char/mem.c
Back to the patch index
Back to the overall index
- Lines: 11
- Date:
Sun Nov 30 10:59:02 1997
- Orig file:
v2.1.67/linux/drivers/char/n_tty.c
- Orig date:
Sat Oct 25 02:44:15 1997
diff -u --recursive --new-file v2.1.67/linux/drivers/char/n_tty.c linux/drivers/char/n_tty.c
@@ -695,8 +695,8 @@
int is_ignored(int sig)
{
- return ((current->blocked & (1<<(sig-1))) ||
- (current->sig->action[sig-1].sa_handler == SIG_IGN));
+ return (sigismember(¤t->blocked, sig) ||
+ current->sig->action[sig-1].sa.sa_handler == SIG_IGN);
}
static void n_tty_set_termios(struct tty_struct *tty, struct termios * old)
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov