diff options
author | Jim Meyering <jim@meyering.net> | 1999-01-11 03:10:59 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1999-01-11 03:10:59 +0000 |
commit | 75e54792207485a12252a6b74936ba9386fad3ea (patch) | |
tree | 12a01960995f7862419d9df6c520d0080fe77393 /src/ls.c | |
parent | db0dadb263c7f45446dd3185a9a27fe0d63d01d3 (diff) | |
download | coreutils-75e54792207485a12252a6b74936ba9386fad3ea.tar.xz |
(decode_switches): Now that escape_quoting_style no longer
escapes the SPACE character, arrange for SPACEs to be quoted here.
Diffstat (limited to 'src/ls.c')
-rw-r--r-- | src/ls.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -1164,6 +1164,8 @@ decode_switches (int argc, char **argv) } filename_quoting_options = clone_quoting_options (NULL); + if (get_quoting_style (filename_quoting_options) == escape_quoting_style) + set_char_quoting (filename_quoting_options, ' ', 1); if (indicator_style != none) for (p = "*=@|" + (int) indicator_style - 1; *p; p++) set_char_quoting (filename_quoting_options, *p, 1); |