NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

PR/49208 CVS commit: [netbsd-6] src/common/lib/libc/arch/i386/string/small



The following reply was made to PR port-i386/49208; it has been noted by GNATS.

From: "SAITOH Masanobu" <msaitoh%netbsd.org@localhost>
To: gnats-bugs%gnats.NetBSD.org@localhost
Cc: 
Subject: PR/49208 CVS commit: [netbsd-6] src/common/lib/libc/arch/i386/string/small
Date: Mon, 27 Oct 2014 10:51:16 +0000

 Module Name:	src
 Committed By:	msaitoh
 Date:		Mon Oct 27 10:51:16 UTC 2014
 
 Modified Files:
 	src/common/lib/libc/arch/i386/string/small [netbsd-6]: strchr.S
 
 Log Message:
 Pull up following revision(s) (requested by khorben in ticket #1158):
 	common/lib/libc/arch/i386/string/small/strchr.S: revision 1.3
 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
 
 
 To generate a diff of this commit:
 cvs rdiff -u -r1.1 -r1.1.4.1 \
     src/common/lib/libc/arch/i386/string/small/strchr.S
 
 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.
 


Home | Main Index | Thread Index | Old Index