From ed0c88b7f74f0d4ff9bd30a59c1af3ac8302c352 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sun, 1 Aug 1999 07:44:39 +0000 Subject: (quotearg_buffer): Don't quote spaces if C quoting style. --- lib/quotearg.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lib/quotearg.c') diff --git a/lib/quotearg.c b/lib/quotearg.c index 6e923a81e..124f74274 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)) { -- cgit v1.2.3-54-g00ecf