diff options
author | Thomas White <taw@bitwiz.org.uk> | 2010-12-07 19:58:51 -0700 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2012-02-22 15:27:08 +0100 |
commit | 93e1ac85ffb4947080adcd4699fcccdbcf757fa5 (patch) | |
tree | 5fbdfa8952ce2de15fb58e62e9c1aef17ccb2d0c /lib/memchr.valgrind | |
parent | 508de274d96794a194694cf75b9711d1b8882301 (diff) |
Add Gnulib 'lib' items
Diffstat (limited to 'lib/memchr.valgrind')
-rw-r--r-- | lib/memchr.valgrind | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/lib/memchr.valgrind b/lib/memchr.valgrind new file mode 100644 index 00000000..60f247e1 --- /dev/null +++ b/lib/memchr.valgrind @@ -0,0 +1,14 @@ +# 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 +} |