From 75e54792207485a12252a6b74936ba9386fad3ea Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Mon, 11 Jan 1999 03:10:59 +0000 Subject: [PATCH] (decode_switches): Now that escape_quoting_style no longer escapes the SPACE character, arrange for SPACEs to be quoted here. --- src/ls.c | 2 ++ 1 file changed, 2 insertions(+) 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); -- 2.47.3