diff options
author | H. Peter Anvin <hpa@zytor.com> | 2010-02-28 21:12:46 -0800 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2010-02-28 21:12:46 -0800 |
commit | 0fba01f4009b29ec9f2cdadafa33fd4699675542 (patch) | |
tree | da694ea7ffa13e16b47e482966cce261cc9f95ed /core/fs/fs.c | |
parent | 0f767521fd948e2e00263dbf8c9cae7356871881 (diff) | |
download | syslinux-0fba01f4009b29ec9f2cdadafa33fd4699675542.tar.gz |
core: get rid of unmangle_name completelysyslinux-4.00-pre31
The notion of "mangle name" is now restricted to producing a canonical
representation, e.g. changing \ -> / for FAT filesystems. However,
the resulting mangled name is now always human-readable, so there
never is any reason to unmangle a name.
Get rid of not just the mangling, but of the resulting unmangled-name
buffers and so on.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'core/fs/fs.c')
-rw-r--r-- | core/fs/fs.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/core/fs/fs.c b/core/fs/fs.c index 9002fa68..865f398d 100644 --- a/core/fs/fs.c +++ b/core/fs/fs.c @@ -88,17 +88,6 @@ void mangle_name(char *dst, const char *src) this_fs->fs_ops->mangle_name(dst, src); } -void pm_unmangle_name(com32sys_t *regs) -{ - const char *src = MK_PTR(regs->ds, regs->esi.w[0]); - char *dst = MK_PTR(regs->es, regs->edi.w[0]); - - dst = stpcpy(dst, src); - - /* Update the di register to point to the last null char */ - regs->edi.w[0] = OFFS_WRT(dst, regs->es); -} - void getfssec(com32sys_t *regs) { int sectors; |