Mercurial > gnulib
view lib/memchr.valgrind @ 40194:33c4cac699fe
nstrftime: tweak arg order
* lib/nstrftime.c (__strftime_internal): Interchange arg order.
All callers changed. Suggested by TAMUKI Shoichi in:
https://lists.gnu.org/r/bug-gnulib/2019-02/msg00052.html
author | Paul Eggert <eggert@cs.ucla.edu> |
---|---|
date | Sat, 23 Feb 2019 15:07:47 -0800 |
parents | dfac57b1ec9f |
children |
line wrap: on
line source
# Suppress a valgrind message about use of uninitialized memory in memchr(). # POSIX states that when the character is found, memchr must not read extra # bytes in an overestimated length (for example, where memchr is used to # implement strnlen). However, we use a safe word read to provide a speedup. { memchr-value4 Memcheck:Value4 fun:rpl_memchr } { memchr-value8 Memcheck:Value8 fun:rpl_memchr }