diff options
author | jilles <jilles@FreeBSD.org> | 2014-12-29 15:15:27 +0000 |
---|---|---|
committer | jilles <jilles@FreeBSD.org> | 2014-12-29 15:15:27 +0000 |
commit | eae2f349202ed4bbe4292b300ff814f0390be299 (patch) | |
tree | fc3a529846625692093dd2cdd6a41e8fa0b40ce3 /bin | |
parent | ca31dd6023ba06fea001d33fec8ad47e935df007 (diff) | |
download | FreeBSD-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.c | 2 |
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); |