Mercurial > hg-old > index.cgi
view lib/memchr.valgrind @ 445:7899511b2102 3.0
Added tag 3.0.1 for changeset a8934dfba400
author | lost@l-w.ca |
---|---|
date | Sat, 30 Oct 2010 15:22:55 -0600 |
parents | b8bf63962a99 |
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 }