Subject: PR/29248 CVS commit: src/lib/libc/arch/i386/string
To: None <,,>
From: Christos Zoulas <>
List: netbsd-bugs
Date: 02/06/2005 18:41:02
The following reply was made to PR lib/29248; it has been noted by GNATS.

From: Christos Zoulas <>
Subject: PR/29248 CVS commit: src/lib/libc/arch/i386/string
Date: Sun,  6 Feb 2005 18:36:33 +0000 (UTC)

 Module Name:	src
 Committed By:	christos
 Date:		Sun Feb  6 18:36:32 UTC 2005
 Modified Files:
 	src/lib/libc/arch/i386/string: memchr.S strchr.S strrchr.S
 Log Message:
 PR/29248: Geoff C. Wing: memchr broken after latest commit.
 Apply fix submitted by jtc: The problem was that his regression tests
 never checked for characters with the high bit set. Change movl to movzbl
 where it was not done yet. In addition strrchr.S missed a jump to Lzero.
 To generate a diff of this commit:
 cvs rdiff -r1.11 -r1.12 src/lib/libc/arch/i386/string/memchr.S
 cvs rdiff -r1.5 -r1.6 src/lib/libc/arch/i386/string/strchr.S
 cvs rdiff -r1.6 -r1.7 src/lib/libc/arch/i386/string/strrchr.S
 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.