From 3c3d25cda666d07b6b0d3c3f998e3e652d79cf2d Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sun, 1 Aug 1999 07:44:39 +0000 Subject: [PATCH] (quotearg_buffer): Don't quote spaces if C quoting style. --- lib/quotearg.c | 4 ++++ 1 file changed, 4 insertions(+) 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)) { -- 2.30.2