From eae2f349202ed4bbe4292b300ff814f0390be299 Mon Sep 17 00:00:00 2001 From: jilles Date: Mon, 29 Dec 2014 15:15:27 +0000 Subject: 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. --- bin/sh/expand.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin') 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); -- cgit v1.1