]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
(quote_filename): Don't backslash-escape double quotes.
authorJim Meyering <jim@meyering.net>
Mon, 3 Feb 1997 00:10:40 +0000 (00:10 +0000)
committerJim Meyering <jim@meyering.net>
Mon, 3 Feb 1997 00:10:40 +0000 (00:10 +0000)
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.

src/ls.c

index d3a4f79586e4bb846737fdd8b943c5feb0e24eb5..9a16e30bec873f2d58bac54a86eec0a295124de6 100644 (file)
--- 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;