]> git.ipfire.org Git - thirdparty/coreutils.git/commit
ls,ptx: restrict quotearg use to file name output
authorPádraig Brady <P@draigBrady.com>
Sun, 16 Aug 2015 15:47:17 +0000 (16:47 +0100)
committerPádraig Brady <P@draigBrady.com>
Thu, 3 Sep 2015 00:11:32 +0000 (01:11 +0100)
commit895a56c53118ea1ed97e0641a413ca4793afaa20
tree045e10cc7014c17686290859ca935d36d1461aa6
parentdf3b9120b4b0444bedbe53ef7a2cc5bb28fb3943
ls,ptx: restrict quotearg use to file name output

* src/ls.c (getenv_quoting_style, decode_switches, parse_ls_color):
Use quote() rather than quotearg(), as the latter defaults to
outputting the input unquoted.
* src/ptx.c (main): Likewise.
src/ls.c
src/ptx.c