aboutsummaryrefslogtreecommitdiffstats
path: root/extlinux.asm
diff options
context:
space:
mode:
authorhpa <hpa>2004-12-22 13:40:56 +0000
committerhpa <hpa>2004-12-22 13:40:56 +0000
commit72d098b31e57e5ae81d9a4923608f12014c1d36f (patch)
tree1a53e8b9b7c51e3e11d601dfa905374013647f98 /extlinux.asm
parentea742162cc082fec3a3164d75fc5af67ceb7ef0a (diff)
downloadsyslinux-3.00-pre2.tar.gz
syslinux-3.00-pre2.tar.xz
syslinux-3.00-pre2.zip
Detect null filenames correctly (problems in both pxelinux and extlinux)syslinux-3.00-pre2
Diffstat (limited to 'extlinux.asm')
-rw-r--r--extlinux.asm3
1 files changed, 2 insertions, 1 deletions
diff --git a/extlinux.asm b/extlinux.asm
index fffeb890..bb6215de 100644
--- a/extlinux.asm
+++ b/extlinux.asm
@@ -32,7 +32,8 @@ my_id equ extlinux_id
; NASM 0.98.38 croaks if these are equ's rather than macros...
FILENAME_MAX_LG2 equ 8 ; log2(Max filename size Including final null)
FILENAME_MAX equ (1 << FILENAME_MAX_LG2) ; Max mangled filename size
-NULLFILE equ ' ' ; First char space == null filename
+NULLFILE equ 0 ; Null character == empty filename
+NULLOFFSET equ 0 ; Position in which to look
retry_count equ 6 ; How patient are we with the disk?
%assign HIGHMEM_SLOP 0 ; Avoid this much memory near the top
LDLINUX_MAGIC equ 0x3eb202fe ; A random number to identify ourselves with