diff options
author | Thomas Guyot-Sionnest <dermoth@aei.ca> | 2010-04-08 01:11:46 (GMT) |
---|---|---|
committer | Thomas Guyot-Sionnest <dermoth@aei.ca> | 2010-04-13 01:26:35 (GMT) |
commit | 74da141e618ef99959d509cb2e7be35a348a39db (patch) | |
tree | 88ebc38b381a1021fc2d74864a71e230ae591c3d /gl/memchr.valgrind | |
parent | c63a4f726a0b6ad8cf6040f947754a81fd4683bb (diff) | |
download | monitoring-plugins-74da141e618ef99959d509cb2e7be35a348a39db.tar.gz |
Sync with the latest Gnulib code (177f525)
Signed-off-by: Thomas Guyot-Sionnest <dermoth@aei.ca>
Diffstat (limited to 'gl/memchr.valgrind')
-rw-r--r-- | gl/memchr.valgrind | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/gl/memchr.valgrind b/gl/memchr.valgrind new file mode 100644 index 0000000..60f247e --- /dev/null +++ b/gl/memchr.valgrind | |||
@@ -0,0 +1,14 @@ | |||
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. | ||
5 | { | ||
6 | memchr-value4 | ||
7 | Memcheck:Value4 | ||
8 | fun:rpl_memchr | ||
9 | } | ||
10 | { | ||
11 | memchr-value8 | ||
12 | Memcheck:Value8 | ||
13 | fun:rpl_memchr | ||
14 | } | ||