| #
1.3 |
|
22-Sep-2014 |
khorben |
branches: 1.3.16; Look for the character to locate before checking for the NUL character
As documented in PR port-i386/49208, this fixes strchr(s, '\0'), as used by the FAT first-stage bootloader on x86 (bootxx_msdos). strchr(s, '\0') is otherwise equivalent to strlen(string), which would probably look nicer in the original file, dosfs.c from libsa.
Confirmed working in qemu and on real hardware. ok joerg@
XXX pull-up to netbsd-6 and netbsd-7
|