From: Jim Meyering Date: Mon, 3 Feb 1997 00:10:40 +0000 (+0000) Subject: (quote_filename): Don't backslash-escape double quotes. X-Git-Tag: SH-UTILS-1_16a~277 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6a203a23475434e0de43fae35bcb5c250fba798c;p=thirdparty%2Fcoreutils.git (quote_filename): Don't backslash-escape double quotes. This fixes a problem whereby columns weren't aligned when some files contained double quote characters and ls's --escape (-b) option was used. Reported by Mark Harris. --- diff --git a/src/ls.c b/src/ls.c index d3a4f79586..9a16e30bec 100644 --- a/src/ls.c +++ b/src/ls.c @@ -2205,7 +2205,6 @@ quote_filename (register const char *p, size_t *quoted_length) case '\t': case '\f': case ' ': - case '"': found_quotable = 1; break;