]> git.ipfire.org Git - thirdparty/coreutils.git/commit
digest: ignore empty lines when checking
authorPádraig Brady <P@draigBrady.com>
Thu, 16 Sep 2021 11:29:12 +0000 (12:29 +0100)
committerPádraig Brady <P@draigBrady.com>
Thu, 16 Sep 2021 19:39:28 +0000 (20:39 +0100)
commite6c57cf19b1e2660da1ceca92fc8837493cd157e
tree870b68de15a7f404ade76e267c5c6dc3a76e8196
parent7ebcd88fb271b836d3feca443c58e74751442877
digest: ignore empty lines when checking

* src/digest.c (digest_check): Treat empty lines like comments,
as commented checksum files very often have empty lines.
* tests/misc/md5sum.pl: Adjust accordingly.
src/digest.c
tests/misc/md5sum.pl