md5sum: quote all printed file names
commit106d4bf159a97b573d6479473fa38216fb8bfada
authorPádraig Brady <P@draigBrady.com>
Mon, 26 Oct 2015 01:26:04 +0000 (26 01:26 +0000)
committerPádraig Brady <P@draigBrady.com>
Tue, 27 Oct 2015 13:20:50 +0000 (27 13:20 +0000)
treedf625291cacb7341dd291f3edc87907ba83e655c
parente71be1292b92b244d065873fae5a17d5e1f0a16c
md5sum: quote all printed file names

This is especially significant when using --check
with files generated on a windows system, where the \r
characters produce corrupted and confusing error messages.
This also ensures status messages are output on a single line.

* src/md5sum.c: Use quote() for printed file names.
* tests/misc/md5sum.pl: Adjust accordingly.
* NEWS: Mention the change in behavior.
Fixes http://bugs.gnu.org/21757
NEWS
src/md5sum.c
tests/misc/md5sum.pl
tests/misc/sha1sum.pl