patch-2.1.57 linux/drivers/char/tty_io.c
Next file: linux/drivers/char/tty_ioctl.c
Previous file: linux/drivers/char/stallion.c
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Sat Sep 20 14:51:54 1997
- Orig file:
v2.1.56/linux/drivers/char/tty_io.c
- Orig date:
Tue Sep 23 16:48:47 1997
diff -u --recursive --new-file v2.1.56/linux/drivers/char/tty_io.c linux/drivers/char/tty_io.c
@@ -607,7 +607,7 @@
if (!count)
break;
ret = -ERESTARTSYS;
- if (current->signal & ~current->blocked)
+ if (signal_pending(current))
break;
if (need_resched)
schedule();
@@ -1217,7 +1217,7 @@
release_dev(filp);
if (retval != -ERESTARTSYS)
return retval;
- if (current->signal & ~current->blocked)
+ if (signal_pending(current))
return retval;
schedule();
/*
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov