diff options
author | Jim Meyering <jim@meyering.net> | 1999-08-01 07:44:39 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1999-08-01 07:44:39 +0000 |
commit | 3c3d25cda666d07b6b0d3c3f998e3e652d79cf2d (patch) | |
tree | 550d6c201b1069c7f10b22114ad6bac7274e7a18 | |
parent | 13413b31c2cbbf7dc1b64e5a894ec10256ef0c14 (diff) | |
download | gnulib-3c3d25cda666d07b6b0d3c3f998e3e652d79cf2d.tar.gz |
(quotearg_buffer):
Don't quote spaces if C quoting style.
-rw-r--r-- | lib/quotearg.c | 4 |
1 files changed, 4 insertions, 0 deletions
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)) { |