projects
/
pspp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
13413b3
)
(quotearg_buffer):
author
Jim Meyering
<jim@meyering.net>
Sun, 1 Aug 1999 07:44:39 +0000
(07:44 +0000)
committer
Jim Meyering
<jim@meyering.net>
Sun, 1 Aug 1999 07:44:39 +0000
(07:44 +0000)
Don't quote spaces if C quoting style.
lib/quotearg.c
patch
|
blob
|
history
diff --git
a/lib/quotearg.c
b/lib/quotearg.c
index 6e923a81e9ef9308b3aadfc01460970cda2623df..124f74274ee6241a0376a53c18bcd921b53a9c30 100644
(file)
--- 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))
{