svn commit: r210578 - head/usr.bin/grep

Joerg Sonnenberger joerg at britannica.bec.de
Thu Jul 29 00:53:15 UTC 2010


On Thu, Jul 29, 2010 at 12:11:14AM +0000, Gabor Kovesdan wrote:
>   - Some improvements on the exiting code, like replacing memcpy with
>     strlcpy/strcpy

Why is this an improvement? At least for non-trivial sizes, it is quite
likely to be a regression. Especially using strlcpy as replacement for
memcpy+\0 is bogus.

Joerg


More information about the svn-src-all mailing list