]> git.ipfire.org Git - thirdparty/coreutils.git/commit
all: replace most uses of quotearg_colon() with quote()
authorPádraig Brady <P@draigBrady.com>
Wed, 28 Oct 2015 13:02:31 +0000 (13:02 +0000)
committerPádraig Brady <P@draigBrady.com>
Wed, 4 Nov 2015 02:03:41 +0000 (02:03 +0000)
commitab40a941a07d80326aaa051e3c94c88b800cbd7d
tree382e656f126d0e63ca1158f8f43630e1dd10d18b
parent00eb7af8ea30ccbefeb17213cd644b8f0ade1ef8
all: replace most uses of quotearg_colon() with quote()

Related to commit v8.24-61-g6796698 this provides
more consistent quoting, as quotearg_colon() defaults
to "literal" quoting by default, while quote()
provides appropriate quoting for diagnostics by default.

* gl/modules/randread: Depend on quote module rather than quotearg.
* gl/lib/randread.c: Used quote() not quotearg_colon().
* src/: Likewise.
* src/shred.c: Likewise. Also avoid unnecessary quoting
introducing overhead when wiping names.
* cfg.mk: Relax the matching expression to allow
"qname" variables as used in shred.c to satisfy the check.
* tests/: Adjust accordingly.
23 files changed:
cfg.mk
gl/lib/randread.c
gl/modules/randread
src/chcon.c
src/chmod.c
src/du.c
src/head.c
src/install.c
src/ls.c
src/runcon.c
src/shred.c
src/shuf.c
src/sort.c
src/stat.c
src/tac.c
src/wc.c
tests/du/files0-from-dir.sh
tests/du/files0-from.pl
tests/du/move-dir-while-traversing.sh
tests/misc/shred-passes.sh
tests/misc/sort-files0-from.pl
tests/misc/stat-printf.pl
tests/misc/wc-files0-from.pl