Subject: CVS commit: src/lib/libc/arch/i386/string
To: None <source-changes@NetBSD.org>
From: Christos Zoulas <christos@netbsd.org>
List: source-changes
Date: 02/06/2005 18:36:32
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.