svn commit: r274854 - head/bin/sh
Jilles Tjoelker
jilles at FreeBSD.org
Sat Nov 22 16:03:19 UTC 2014
Author: jilles
Date: Sat Nov 22 16:03:18 2014
New Revision: 274854
URL: https://svnweb.freebsd.org/changeset/base/274854
Log:
sh: Use DQSYNTAX only while expanding, not SQSYNTAX.
Quoting during expansion only cares about CCTL, which is the same for
DQSYNTAX and SQSYNTAX.
Modified:
head/bin/sh/expand.c
Modified: head/bin/sh/expand.c
==============================================================================
--- head/bin/sh/expand.c Sat Nov 22 15:09:18 2014 (r274853)
+++ head/bin/sh/expand.c Sat Nov 22 16:03:18 2014 (r274854)
@@ -337,7 +337,7 @@ done:
if (home == NULL || *home == '\0')
return (startp);
if (quotes)
- STPUTS_QUOTES(home, SQSYNTAX, expdest);
+ STPUTS_QUOTES(home, DQSYNTAX, expdest);
else
STPUTS(home, expdest);
return (p);
More information about the svn-src-all
mailing list