From owner-cvs-src-old@FreeBSD.ORG Sun Oct 11 16:40:37 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 CBFDA106568B for ; Sun, 11 Oct 2009 16:40:37 +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 B87288FC14 for ; Sun, 11 Oct 2009 16:40:37 +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 n9BGeb7H046179 for ; Sun, 11 Oct 2009 16:40:37 GMT (envelope-from jilles@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id n9BGebIQ046178 for cvs-src-old@freebsd.org; Sun, 11 Oct 2009 16:40:37 GMT (envelope-from jilles@repoman.freebsd.org) Message-Id: <200910111640.n9BGebIQ046178@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to jilles@repoman.freebsd.org using -f From: Jilles Tjoelker Date: Sun, 11 Oct 2009 16:35:12 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: RELENG_8 Subject: cvs commit: src/bin/sh eval.c exec.c exec.h mknodes.c nodes.c.pat src/tools/regression/bin/sh/execution func1.0 func2.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, 11 Oct 2009 16:40:37 -0000 jilles 2009-10-11 16:35:12 UTC FreeBSD src repository Modified files: (Branch: RELENG_8) bin/sh eval.c exec.c exec.h mknodes.c nodes.c.pat Added files: (Branch: RELENG_8) tools/regression/bin/sh/execution func1.0 func2.0 Log: SVN rev 197959 on 2009-10-11 16:35:12Z by jilles MFC r196483,r196634: sh: Fix crash when undefining or redefining a currently executing function Add a reference count to function definitions. Memory may leak if a SIGINT arrives in interactive mode at exactly the wrong time, this will be fixed later by changing SIGINT handling. PR: bin/137640 Approved by: re (kib) Revision Changes Path 1.64.2.2 +5 -2 src/bin/sh/eval.c 1.34.2.2 +4 -4 src/bin/sh/exec.c 1.15.10.2 +2 -1 src/bin/sh/exec.h 1.18.2.2 +5 -2 src/bin/sh/mknodes.c 1.15.30.2 +37 -9 src/bin/sh/nodes.c.pat 1.1.2.2 +4 -0 src/tools/regression/bin/sh/execution/func1.0 (new) 1.1.2.2 +11 -0 src/tools/regression/bin/sh/execution/func2.0 (new)