aboutsummaryrefslogtreecommitdiffstats
path: root/core/parseconfig.inc
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2010-02-28 21:12:46 -0800
committerH. Peter Anvin <hpa@zytor.com>2010-02-28 21:12:46 -0800
commit0fba01f4009b29ec9f2cdadafa33fd4699675542 (patch)
treeda694ea7ffa13e16b47e482966cce261cc9f95ed /core/parseconfig.inc
parent0f767521fd948e2e00263dbf8c9cae7356871881 (diff)
downloadsyslinux-0fba01f4009b29ec9f2cdadafa33fd4699675542.tar.gz
syslinux-0fba01f4009b29ec9f2cdadafa33fd4699675542.tar.xz
syslinux-0fba01f4009b29ec9f2cdadafa33fd4699675542.zip
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/parseconfig.inc')
-rw-r--r--core/parseconfig.inc5
1 files changed, 2 insertions, 3 deletions
diff --git a/core/parseconfig.inc b/core/parseconfig.inc
index b30dbc2a..e7b3108b 100644
--- a/core/parseconfig.inc
+++ b/core/parseconfig.inc
@@ -409,9 +409,8 @@ commit_vk:
mov cx,7 ; "initrd="
rep movsb
mov si,InitRD
- pm_call pm_unmangle_name
- mov al,' '
- stosb
+ call strcpy
+ mov byte [es:di-1],' '
; For better compression, clean up the append field
.noinitrd: