patch-2.3.22 linux/fs/proc/root.c
Next file: linux/fs/smbfs/cache.c
Previous file: linux/fs/proc/proc_devtree.c
Back to the patch index
Back to the overall index
-  Lines: 9
-  Date:
Thu Oct 14 14:33:10 1999
-  Orig file: 
v2.3.21/linux/fs/proc/root.c
-  Orig date: 
Fri Sep 10 23:57:36 1999
diff -u --recursive --new-file v2.3.21/linux/fs/proc/root.c linux/fs/proc/root.c
@@ -898,6 +898,8 @@
 		}
 		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)