Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: src/sys/lib/libsa
Module Name: src
Committed By: rtr
Date: Fri Mar 21 10:24:13 UTC 2008
Modified Files:
src/sys/lib/libsa: strchr.c
Log Message:
when the char being searched for is not found strchr() must return NULL
not a pointer to the terminating '\0'. the only time we return a pointer
to the terminating '\0' is when the char being searched for is '\0'.
fixes problem observed booting -current install
http://mail-index.netbsd.org/current-users/2008/03/20/msg001445.html
To generate a diff of this commit:
cvs rdiff -r1.1 -r1.2 src/sys/lib/libsa/strchr.c
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