Correct a bug that caused EXTLINUX to crash when accessing an empty
file.
apply to that specific program only; other changes apply to all of
them.
+Changes in 3.61:
+ * EXTLINUX: fix crash when accessing an empty file.
+ * elf.c32: If a PHDR segment is present, load it.
+ * Fix SHA-1 passwords.
+
Changes in 3.60:
* Support for "auxilliary data vector", a small amount of
writable storage. Currently only supported for EXTLINUX,
push eax ; Save directory inode
call open_inode
- jz .done ; If error, done
+ jz .missing ; If error, done
mov cx,[si+file_mode]
shr cx,S_IFSHIFT ; Get file type
pop bx
ret
+.missing:
+ add sp,4 ; Drop directory inode
+ jmp .done
+
;
; It's a file.
;