]> git.ipfire.org Git - thirdparty/coreutils.git/commit
Placate valgrind, wrt ./cp --sparse=always
authorJim Meyering <jim@meyering.net>
Thu, 22 Feb 2007 11:50:36 +0000 (12:50 +0100)
committerJim Meyering <jim@meyering.net>
Thu, 22 Feb 2007 11:50:36 +0000 (12:50 +0100)
commitf48ca7f500cd55e88f9fa24ec8ef74d6bed25a69
tree3abd7bb057a3d90e6ae420e390f21952b418c944
parentc25841e0d4335e220d244c141f3156c0f8139c86
Placate valgrind, wrt ./cp --sparse=always
* src/copy.c (copy_reg): Place the sentinel by setting a
full word's worth of bits, not just a single byte's worth.
This avoids a harmless (but distracting) case of memory being
used-uninitialized.
ChangeLog
src/copy.c