From owner-cvs-src-old@FreeBSD.ORG Fri Dec 25 20:25:19 2009 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 42F641065672 for ; Fri, 25 Dec 2009 20:25:19 +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 2FA948FC12 for ; Fri, 25 Dec 2009 20:25:19 +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 nBPKPJbj049919 for ; Fri, 25 Dec 2009 20:25:19 GMT (envelope-from jilles@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id nBPKPJuY049918 for cvs-src-old@freebsd.org; Fri, 25 Dec 2009 20:25:19 GMT (envelope-from jilles@repoman.freebsd.org) Message-Id: <200912252025.nBPKPJuY049918@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to jilles@repoman.freebsd.org using -f From: Jilles Tjoelker Date: Fri, 25 Dec 2009 20:21:35 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/bin/sh jobs.c main.c main.h src/tools/regression/bin/sh/builtins fc2.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: Fri, 25 Dec 2009 20:25:19 -0000 jilles 2009-12-25 20:21:35 UTC FreeBSD src repository Modified files: bin/sh jobs.c main.c main.h Added files: tools/regression/bin/sh/builtins fc2.0 Log: SVN rev 200998 on 2009-12-25 20:21:35Z by jilles sh: Do not run callers' exception handlers in subshells. Reset the exception handler in the child to main's. This avoids inappropriate double cleanups or shell duplication when the exception is caught, such as 'fc' and future 'command eval' and 'command .'. Revision Changes Path 1.74 +1 -0 src/bin/sh/jobs.c 1.35 +3 -3 src/bin/sh/main.c 1.10 +1 -0 src/bin/sh/main.h 1.1 +34 -0 src/tools/regression/bin/sh/builtins/fc2.0 (new)