From owner-cvs-src-old@FreeBSD.ORG Thu Dec 16 23:29:16 2010 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 44F26106564A for ; Thu, 16 Dec 2010 23:29:16 +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 321128FC17 for ; Thu, 16 Dec 2010 23:29:16 +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 oBGNTGc7073579 for ; Thu, 16 Dec 2010 23:29:16 GMT (envelope-from jilles@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.4/8.14.4/Submit) id oBGNTG3e073578 for cvs-src-old@freebsd.org; Thu, 16 Dec 2010 23:29:16 GMT (envelope-from jilles@repoman.freebsd.org) Message-Id: <201012162329.oBGNTG3e073578@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to jilles@repoman.freebsd.org using -f From: Jilles Tjoelker Date: Thu, 16 Dec 2010 23:28:20 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD 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: Thu, 16 Dec 2010 23:29:16 -0000 jilles 2010-12-16 23:28:20 UTC FreeBSD src repository Modified files: bin/sh expand.c Added files: tools/regression/bin/sh/expansion cmdsubst3.0 Log: SVN rev 216496 on 2010-12-16 23:28:20Z by jilles 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.78 +2 -2 src/bin/sh/expand.c 1.1 +20 -0 src/tools/regression/bin/sh/expansion/cmdsubst3.0 (new)