summaryrefslogtreecommitdiff
path: root/src/string/memchr.c
AgeCommit message (Collapse)AuthorFilesLines
2018-09-26fix aliasing-based undefined behavior in string functionsRich Felker1-2/+6
use the GNU C may_alias attribute if available, and fallback to naive byte-by-byte loops if __GNUC__ is not defined. this patch has been written to minimize changes so that history remains reviewable; it does not attempt to bring the affected code into a more consistent or elegant form.
2013-12-12include cleanups: remove unused headers and add feature test macrosSzabolcs Nagy1-1/+0
2011-02-12initial check-in, version 0.5.0v0.5.0Rich Felker1-0/+24