patch-2.2.13 linux/fs/proc/fd.c
Next file: linux/fs/proc/root.c
Previous file: linux/fs/proc/array.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/fd.c
- Orig date:
Fri Apr 23 21:20:38 1999
diff -u --recursive --new-file v2.2.12/linux/fs/proc/fd.c linux/fs/proc/fd.c
@@ -87,6 +87,7 @@
fd = 0;
len = dentry->d_name.len;
name = dentry->d_name.name;
+ if (len > 1 && *name == '0') goto out;
while (len-- > 0) {
c = *name - '0';
name++;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)