From: Jim Meyering Date: Sun, 1 Aug 1999 07:44:39 +0000 (+0000) Subject: (quotearg_buffer): X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3c3d25cda666d07b6b0d3c3f998e3e652d79cf2d;p=pspp (quotearg_buffer): Don't quote spaces if C quoting style. --- diff --git a/lib/quotearg.c b/lib/quotearg.c index 6e923a81e9..124f74274e 100644 --- a/lib/quotearg.c +++ b/lib/quotearg.c @@ -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)) {