aboutsummaryrefslogtreecommitdiffstats
path: root/core/fs/fat
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2010-02-10 16:21:55 -0800
committerH. Peter Anvin <hpa@zytor.com>2010-02-10 16:21:55 -0800
commit3db9073fdd604c253ab0ea0ce83373dc89f633f3 (patch)
tree57484aeaa33308e99eaade1f2f7e2d217a0f4b71 /core/fs/fat
parentddd58320f422651a418731d6f8bd75f61df43293 (diff)
downloadsyslinux-3db9073fdd604c253ab0ea0ce83373dc89f633f3.tar.gz
syslinux-3db9073fdd604c253ab0ea0ce83373dc89f633f3.tar.xz
syslinux-3db9073fdd604c253ab0ea0ce83373dc89f633f3.zip
fs: fix cwd setting for FAT/iso9660/extfssyslinux-4.00-pre18
Fix the cwd setting for FAT, iso9660 and ext*fs. In particular: When FS_THISIND is set in the filesystem flags, only memoize the parent directory iff we are currently doing a config file walk. Use this feature for ext*fs as well, this makes the pathbased branch fully featured. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'core/fs/fat')
-rw-r--r--core/fs/fat/fat.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/core/fs/fat/fat.c b/core/fs/fat/fat.c
index d723f288..c388dba7 100644
--- a/core/fs/fat/fat.c
+++ b/core/fs/fat/fat.c
@@ -759,7 +759,6 @@ static int vfat_load_config(void)
if (*CurrentDirName) { /* installed by extlinux not syslinux */
sprintf(ConfigName, "%s/extlinux.conf", CurrentDirName);
call16(core_open, &regs, &regs);
- strcpy(ConfigName, "extlinux.conf");
return regs.eflags.l & EFLAGS_ZF;
}
/* installed by syslinux */