Date: Sat, 22 Nov 2014 16:03:19 +0000 (UTC) From: Jilles Tjoelker <jilles@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r274854 - head/bin/sh Message-ID: <201411221603.sAMG3Jho044388@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201411221603.sAMG3Jho044388>