patch-2.3.19 linux/fs/proc/fd.c
Next file: linux/fs/qnx4/inode.c
Previous file: linux/fs/partitions/msdos.c
Back to the patch index
Back to the overall index
- Lines: 8
- Date:
Wed Sep 29 15:32:15 1999
- Orig file:
v2.3.18/linux/fs/proc/fd.c
- Orig date:
Sun Jul 11 09:11:46 1999
diff -u --recursive --new-file v2.3.18/linux/fs/proc/fd.c linux/fs/proc/fd.c
@@ -90,6 +90,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)