From owner-cvs-src-old@FreeBSD.ORG Sun Mar 14 14:30:05 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 4966D1065673 for ; Sun, 14 Mar 2010 14:30:05 +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 325798FC14 for ; Sun, 14 Mar 2010 14:30:05 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id o2EEU4GZ051557 for ; Sun, 14 Mar 2010 14:30:04 GMT (envelope-from jilles@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id o2EEU4s7051556 for cvs-src-old@freebsd.org; Sun, 14 Mar 2010 14:30:04 GMT (envelope-from jilles@repoman.freebsd.org) Message-Id: <201003141430.o2EEU4s7051556@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to jilles@repoman.freebsd.org using -f From: Jilles Tjoelker Date: Sun, 14 Mar 2010 14:24:35 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/bin/sh eval.c src/tools/regression/bin/sh/builtins command11.0 src/tools/regression/bin/sh/errors redirection-error6.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: Sun, 14 Mar 2010 14:30:05 -0000 jilles 2010-03-14 14:24:35 UTC FreeBSD src repository Modified files: bin/sh eval.c Added files: tools/regression/bin/sh/builtins command11.0 tools/regression/bin/sh/errors redirection-error6.0 Log: SVN rev 205154 on 2010-03-14 14:24:35Z by jilles sh: Do not abort on a redirection error on a compound command. Redirection errors on subshells already did not abort the shell because the redirection is executed in the subshell. Other shells seem to agree that these redirection errors should not abort the shell. Also ensure that the redirections will be cleaned up properly in cases like command eval '{ shift x; } 2>/dev/null' Example: { echo bad; }