NetBSD/common/lib
khorben 00b617c08a 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
2014-09-22 20:31:56 +00:00
..
libc Look for the character to locate before checking for the NUL character 2014-09-22 20:31:56 +00:00
libppath kill Id RCS keyword. 2012-12-29 20:08:23 +00:00
libprop Eliminate use of C++ keywords and don't nest struct definitions. 2014-09-05 05:19:24 +00:00
libutil fix lack of '>' pointed out in PR/48517 2014-08-02 11:19:01 +00:00
libx86emu Fix decoding of near CALL when address-size prefix (67h) is present. 2014-08-04 21:41:44 +00:00