]> git.ipfire.org Git - thirdparty/coreutils.git/commit
cksum: support --zero in default mode
authorPádraig Brady <P@draigBrady.com>
Sun, 12 Sep 2021 15:57:12 +0000 (16:57 +0100)
committerPádraig Brady <P@draigBrady.com>
Wed, 15 Sep 2021 19:44:18 +0000 (20:44 +0100)
commitd9b78a232948124c1a1421005e5d3bf5de758591
treeeeafe3a079235627d9f407494bce7891ba231c8e
parent8e411226f9686341d17c4c1da17ccade63f619bd
cksum: support --zero in default mode

* src/cksum.h: Thread DELIM through the output functions.
* src/digest.c: Likewise.
* src/sum.c: Likewise.
* src/sum.h: Likewise.
* src/cksum.c: Likewise. Also adjust check to allow -z
with traditional output modes.  Also ajust the global variable
name to avoid shadowing warnings.
* tests/misc/cksum-a.sh: Adjust accordingly.
src/cksum.c
src/cksum.h
src/digest.c
src/sum.c
src/sum.h
tests/misc/cksum-a.sh