patch-2.2.13 linux/fs/proc/root.c
Next file: linux/fs/qnx4/dir.c
Previous file: linux/fs/proc/fd.c
Back to the patch index
Back to the overall index
-  Lines: 8
-  Date:
Tue Oct 19 17:14:02 1999
-  Orig file: 
v2.2.12/linux/fs/proc/root.c
-  Orig date: 
Mon Aug  9 16:05:57 1999
diff -u --recursive --new-file v2.2.12/linux/fs/proc/root.c linux/fs/proc/root.c
@@ -845,6 +845,7 @@
 		}
 		pid *= 10;
 		pid += c;
+		if (!pid) break;
 		if (pid & 0xffff0000) {
 			pid = 0;
 			break;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)