patch-2.2.0-pre8 linux/fs/isofs/namei.c
Next file: linux/fs/namei.c
Previous file: linux/fs/exec.c
Back to the patch index
Back to the overall index
- Lines: 24
- Date:
Fri Jan 15 14:41:04 1999
- Orig file:
v2.2.0-pre7/linux/fs/isofs/namei.c
- Orig date:
Thu Sep 17 17:53:37 1998
diff -u --recursive --new-file v2.2.0-pre7/linux/fs/isofs/namei.c linux/fs/isofs/namei.c
@@ -161,6 +161,7 @@
if (dir->i_sb->u.isofs_sb.s_rock ||
dir->i_sb->u.isofs_sb.s_joliet_level ||
+ dir->i_sb->u.isofs_sb.s_mapping == 'n' ||
dir->i_sb->u.isofs_sb.s_mapping == 'a') {
if (! page) {
page = (unsigned char *)
@@ -190,12 +191,13 @@
break;
}
if (c == ';') c = '.';
- dpnt[i] = c;
+ page[i] = c;
}
/* This allows us to match with and without
* a trailing period. */
- if(dpnt[dlen-1] == '.' && dentry->d_name.len == dlen-1)
+ if(page[dlen-1] == '.' && dentry->d_name.len == dlen-1)
dlen--;
+ dpnt = page;
}
/*
* Skip hidden or associated files unless unhide is set
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov