summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorjilles <jilles@FreeBSD.org>2014-12-29 15:15:27 +0000
committerjilles <jilles@FreeBSD.org>2014-12-29 15:15:27 +0000
commiteae2f349202ed4bbe4292b300ff814f0390be299 (patch)
treefc3a529846625692093dd2cdd6a41e8fa0b40ce3 /bin
parentca31dd6023ba06fea001d33fec8ad47e935df007 (diff)
downloadFreeBSD-src-eae2f349202ed4bbe4292b300ff814f0390be299.zip
FreeBSD-src-eae2f349202ed4bbe4292b300ff814f0390be299.tar.gz
MFC r274854: sh: Use DQSYNTAX only while expanding, not SQSYNTAX.
Quoting during expansion only cares about CCTL, which is the same for DQSYNTAX and SQSYNTAX.
Diffstat (limited to 'bin')
-rw-r--r--bin/sh/expand.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/sh/expand.c b/bin/sh/expand.c
index 60eaaf7..6d7e87b 100644
--- a/bin/sh/expand.c
+++ b/bin/sh/expand.c
@@ -339,7 +339,7 @@ done:
goto lose;
*p = c;
if (quotes)
- STPUTS_QUOTES(home, SQSYNTAX, expdest);
+ STPUTS_QUOTES(home, DQSYNTAX, expdest);
else
STPUTS(home, expdest);
return (p);
OpenPOWER on IntegriCloud