From owner-cvs-all Sat Aug 17 23:43:47 2002 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9AF6337B400; Sat, 17 Aug 2002 23:43:45 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4E6AB43E3B; Sat, 17 Aug 2002 23:43:45 -0700 (PDT) (envelope-from tjr@FreeBSD.org) Received: from freefall.freebsd.org (tjr@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.4/8.12.4) with ESMTP id g7I6hjJU036326; Sat, 17 Aug 2002 23:43:45 -0700 (PDT) (envelope-from tjr@freefall.freebsd.org) Received: (from tjr@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g7I6hjjU036325; Sat, 17 Aug 2002 23:43:45 -0700 (PDT) Message-Id: <200208180643.g7I6hjjU036325@freefall.freebsd.org> From: "Tim J. Robbins" Date: Sat, 17 Aug 2002 23:43:45 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/bin/sh jobs.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG tjr 2002/08/17 23:43:45 PDT Modified files: bin/sh jobs.c Log: Avoid accessing the current job's process table in the child part of forkshell() after it has been freed. This caused mysterious behaviour when anything but the first command in a pipeline tried to access the terminal when the `junk' malloc() option was enabled (which is the default). Revision Changes Path 1.56 +5 -3 src/bin/sh/jobs.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message