Mercurial > hg-old > index.cgi
annotate lib/memchr.valgrind @ 423:079d43b6967b 3.0-beta2 3.0-beta2
Added missing file
author | lost@l-w.ca |
---|---|
date | Sun, 19 Sep 2010 01:44:47 -0600 |
parents | 3c2e1f24cc7d |
children |
rev | line source |
---|---|
421 | 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 } |