]> git.ipfire.org Git - thirdparty/coreutils.git/commit
cksum: escape filenames with a leading '\' in --check status
authorPádraig Brady <P@draigBrady.com>
Sat, 1 Jul 2023 16:01:18 +0000 (17:01 +0100)
committerPádraig Brady <P@draigBrady.com>
Tue, 11 Jul 2023 11:16:41 +0000 (12:16 +0100)
commit86614ba1c2854d3209086db3788124f6cd07a9ff
treece6b0189f2a3f09c183fc32a7b2a34c2ada24ec3
parent5e1e0993b50f9828332870829463e975df6abeab
cksum: escape filenames with a leading '\' in --check status

* src/digest.c (digest_check): Also escape in the case that the
file name contains '\'.
* tests/cksum/md5sum-bsd.sh: Add a test case.
* doc/coreutils.texi (md5um invocation): Clarify escaping operation.
* NEWS: Mention the bug fix.
Fixes https://bugs.gnu.org/64392
NEWS
doc/coreutils.texi
src/digest.c
tests/cksum/md5sum-bsd.sh