(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 6e923a8..124f742 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))
                {