]> git.ipfire.org Git - thirdparty/coreutils.git/commit
cksum: use more accurate program name in single binary mode
authorPádraig Brady <P@draigBrady.com>
Tue, 20 Jan 2026 14:07:01 +0000 (14:07 +0000)
committerPádraig Brady <P@draigBrady.com>
Wed, 21 Jan 2026 13:50:37 +0000 (13:50 +0000)
commit89ea90fae83d1a0262876a24ba748bf808437dc0
tree9312d3b11abc07c88ee3183cf88c8dce12d64ba8
parenta96abcbbeb39576e4fdfba60d624898bcebf7d92
cksum: use more accurate program name in single binary mode

Following commit v9.9-109-gcd5229222

* src/cksum.c (PROGRAM_NAME): In legacy mode, i.e., when built
as a single binary, set the PROGRAM_NAME dynamically based on
the selected digest type.  This is significant in --help
to ensure the correct texinfo node is referenced, and in
--version to ensure the correct utility name is output.
src/cksum.c