From: Jim Meyering Date: Mon, 11 Jan 1999 03:10:59 +0000 (+0000) Subject: (decode_switches): Now that escape_quoting_style no longer X-Git-Tag: FILEUTILS-4_1-b3~8 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=75e54792207485a12252a6b74936ba9386fad3ea;p=thirdparty%2Fcoreutils.git (decode_switches): Now that escape_quoting_style no longer escapes the SPACE character, arrange for SPACEs to be quoted here. --- diff --git a/src/ls.c b/src/ls.c index 81e0e83d05..e048d7a4a6 100644 --- a/src/ls.c +++ b/src/ls.c @@ -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);