(quotearg_buffer):
authorJim Meyering <jim@meyering.net>
Sun, 1 Aug 1999 07:44:39 +0000 (07:44 +0000)
committerJim Meyering <jim@meyering.net>
Sun, 1 Aug 1999 07:44:39 +0000 (07:44 +0000)
Don't quote spaces if C quoting style.

lib/quotearg.c

index 6e923a81e9ef9308b3aadfc01460970cda2623df..124f74274ee6241a0376a53c18bcd921b53a9c30 100644 (file)
@@ -263,6 +263,10 @@ quotearg_buffer (char *buffer, size_t buffersize,
                goto store_escape;
              break;
 
+           case ' ':
+             if (quoting_style == c_quoting_style)
+               goto store_c;
+             /* Fall through.  */
            default:
              if (!ISGRAPH (c))
                {