]> git.ipfire.org Git - thirdparty/coreutils.git/commit
md5sum,sha*sum: fix --ignore-missing with checksums starting with 00
authorPádraig Brady <P@draigBrady.com>
Wed, 26 Oct 2016 14:45:01 +0000 (15:45 +0100)
committerPádraig Brady <P@draigBrady.com>
Wed, 26 Oct 2016 19:42:30 +0000 (20:42 +0100)
commitd0ddfadfb27def2861f35b1a45190a4c1780b257
tree4ec472c7d9dccc1ba082c550b683d03081dcf2cd
parent34d1aeaf315b97ac27d54b2af039126b1d5a34f4
md5sum,sha*sum: fix --ignore-missing with checksums starting with 00

* NEWS: Mention the fix.
* src/md5sum.c (digest_file): Add a new MISSING parameter to
return whether the file was missing, separately from the digest.
* tests/misc/md5sum.pl: Add a test case.
Fixes http://bugs.gnu.org/24795
NEWS
src/md5sum.c
tests/misc/md5sum.pl