warnings: fix compilation with old autoconf
[gnulib/ericb.git] / lib / memchr.valgrind
blob60f247e10dca1e6fc15d637edc2de0ea1ed5e23b
1 # Suppress a valgrind message about use of uninitialized memory in memchr().
2 # POSIX states that when the character is found, memchr must not read extra
3 # bytes in an overestimated length (for example, where memchr is used to
4 # implement strnlen).  However, we use a safe word read to provide a speedup.
6     memchr-value4
7     Memcheck:Value4
8     fun:rpl_memchr
11     memchr-value8
12     Memcheck:Value8
13     fun:rpl_memchr