From owner-cvs-src-old@FreeBSD.ORG Sat Feb 5 21:25:09 2011 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6C7821065673 for ; Sat, 5 Feb 2011 21:25:09 +0000 (UTC) (envelope-from jilles@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 5AB1D8FC13 for ; Sat, 5 Feb 2011 21:25:09 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.4/8.14.4) with ESMTP id p15LP9Dj066686 for ; Sat, 5 Feb 2011 21:25:09 GMT (envelope-from jilles@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.4/8.14.4/Submit) id p15LP9G2066685 for cvs-src-old@freebsd.org; Sat, 5 Feb 2011 21:25:09 GMT (envelope-from jilles@repoman.freebsd.org) Message-Id: <201102052125.p15LP9G2066685@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to jilles@repoman.freebsd.org using -f From: Jilles Tjoelker Date: Sat, 5 Feb 2011 21:24:37 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: RELENG_8 Subject: cvs commit: src/bin/sh expand.c src/tools/regression/bin/sh/expansion cmdsubst3.0 X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Feb 2011 21:25:09 -0000 jilles 2011-02-05 21:24:37 UTC FreeBSD src repository Modified files: (Branch: RELENG_8) bin/sh expand.c Added files: (Branch: RELENG_8) tools/regression/bin/sh/expansion cmdsubst3.0 Log: SVN rev 218346 on 2011-02-05 21:24:37Z by jilles MFC r216496: sh: Fix corruption of command substitutions with special chars after newline. The CTLESC byte to protect a special character was output before instead of after a newline directly preceding the special character. The special handling of newlines is because command substitutions discard all trailing newlines. Revision Changes Path 1.55.2.11 +2 -2 src/bin/sh/expand.c 1.1.2.2 +20 -0 src/tools/regression/bin/sh/expansion/cmdsubst3.0 (new)