patch-2.1.57 linux/fs/ncpfs/sock.c
Next file: linux/fs/nfs/dir.c
Previous file: linux/fs/locks.c
Back to the patch index
Back to the overall index
-  Lines: 9
-  Date:
Sat Sep 20 14:51:55 1997
-  Orig file: 
v2.1.56/linux/fs/ncpfs/sock.c
-  Orig date: 
Thu Sep 11 09:02:23 1997
diff -u --recursive --new-file v2.1.56/linux/fs/ncpfs/sock.c linux/fs/ncpfs/sock.c
@@ -167,7 +167,7 @@
 			schedule();
 			remove_wait_queue(entry.wait_address, &entry.wait);
 			current->state = TASK_RUNNING;
-			if (current->signal & ~current->blocked) {
+			if (signal_pending(current)) {
 				current->timeout = 0;
 				result = -ERESTARTSYS;
 				break;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov