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 | ed0c88b7f74f0d4ff9bd30a59c1af3ac8302c352 (patch) | |
tree | ba4923384908bc1695c589f4b6ad634a60a96e48 /lib | |
parent | fabd45e6c6a3ae8b858533f2e0c085a9564a39ac (diff) | |
download | coreutils-ed0c88b7f74f0d4ff9bd30a59c1af3ac8302c352.tar.xz |
(quotearg_buffer):
Don't quote spaces if C quoting style.
Diffstat (limited to 'lib')
-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 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)) { |