From: Jim Meyering Date: Sun, 1 Aug 1999 07:44:39 +0000 (+0000) Subject: (quotearg_buffer): X-Git-Tag: TEXTUTILS-1_22p~19 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ed0c88b7f74f0d4ff9bd30a59c1af3ac8302c352;p=thirdparty%2Fcoreutils.git (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)) {