patch-2.1.57 linux/drivers/char/vt.c

Next file: linux/drivers/isdn/avmb1/b1capi.c
Previous file: linux/drivers/char/tty_ioctl.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.56/linux/drivers/char/vt.c linux/drivers/char/vt.c
@@ -1089,7 +1089,7 @@
 		if (vt == fg_console)
 			break;
 		retval = -EINTR;
-		if (current->signal & ~current->blocked)
+		if (signal_pending(current))
 			break;
 		schedule();
 	}

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov