patch-2.4.0-test10 linux/fs/vfat/namei.c
Next file: linux/include/asm-alpha/byteorder.h
Previous file: linux/fs/umsdos/inode.c
Back to the patch index
Back to the overall index
- Lines: 30
- Date:
Fri Oct 13 11:35:34 2000
- Orig file:
v2.4.0-test9/linux/fs/vfat/namei.c
- Orig date:
Tue Sep 5 14:07:29 2000
diff -u --recursive --new-file v2.4.0-test9/linux/fs/vfat/namei.c linux/fs/vfat/namei.c
@@ -618,12 +618,11 @@
sz = len;
ext_start = NULL;
}
- break;
+ goto stop0;
}
}
- if (charbuf[chi] == '.')
- break;
}
+stop0:;
if (ext_start == name - 1) {
sz = len;
ext_start = NULL;
@@ -640,10 +639,12 @@
if (chl == 0)
break;
for (chi = 0; chi < chl; chi++)
- if (!strchr(skip_chars, charbuf[chi]))
- break;
+ if (!strchr(skip_chars, charbuf[chi])) {
+ goto stop1;
+ }
name_start++;
}
+stop1:;
if (name_start != ext_start) {
sz = ext_start - name;
ext_start++;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)