]> git.ipfire.org Git - thirdparty/coreutils.git/commit
md5sum: ensure a single status line per file
authorPádraig Brady <P@draigBrady.com>
Sun, 1 Nov 2015 18:48:22 +0000 (18:48 +0000)
committerPádraig Brady <P@draigBrady.com>
Wed, 4 Nov 2015 02:03:43 +0000 (02:03 +0000)
commit646902b30dee04b9454fdcaa8a30fd89fc0514ca
tree50241e5b349a1de2a7094d8ffcd900de0458c655
parentab40a941a07d80326aaa051e3c94c88b800cbd7d
md5sum: ensure a single status line per file

* src/md5sum.c: Use the same file name escaping method used
when generating and checking checksums.  I.E. ensure a single line
per file by starting the line with '\' for any file name containing '\n'
and replacing those with "\\n".
* NEWS: Move the item from changes in behavior to improvements,
since this is no longer a backwards incompat change when
processing stdout status messages.
* tests/misc/md5sum.pl: Remove quotes from expected status output.
* tests/misc/sha1sum.pl: Likewise.
NEWS
src/md5sum.c
tests/misc/md5sum.pl
tests/misc/sha1sum.pl