mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-26 15:00:06 +00:00
32c7acd464
Almost all uses of rawmemchr find the end of a string. Since most targets use a generic implementation, replacing it with strchr is better since that is optimized by compilers into strlen (s) + s. Also fix the generic rawmemchr implementation to use a cast to unsigned char in the if statement. Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org> |
||
---|---|---|
.. | ||
db-init.c | ||
db-initgroups.c | ||
db-netgrp.c | ||
db-open.c | ||
db-XXX.c | ||
nss_db.h |