]> git.ipfire.org Git - thirdparty/coreutils.git/commit
digest: refactor sum(1) into digest.c
authorPádraig Brady <P@draigBrady.com>
Sun, 29 Aug 2021 18:34:32 +0000 (19:34 +0100)
committerPádraig Brady <P@draigBrady.com>
Wed, 15 Sep 2021 14:35:53 +0000 (15:35 +0100)
commiteb17c610d442cc8180c21b382a806bff40cea1f4
tree1990cb2e491b76494757362cca038525ce9106e4
parent51268b5dbb8f421f929164ec43f99e41e5763b55
digest: refactor sum(1) into digest.c

Since digest will be providing all digest functionality,
refactor sum.c into it.

* po/POTFILES.in: sum.c no longer has translatable strings so remove.
* src/digest.c: Call out to new stream interfaces in sum.c
* src/local.mk: Adjust sources for the sum binary.
* src/sum.c: Provide a stream interface for BSD and SYSV digests.
* src/sum.h: A new file to declare the exported functions in sum.c
po/POTFILES.in
src/digest.c
src/local.mk
src/sum.c
src/sum.h [new file with mode: 0644]