Received: by mail.netbsd.org (Postfix, from userid 0) id 00BF263B108; Sat, 7 Aug 2010 06:44:10 +0000 (UTC) Received: from cvs.netbsd.org (cvs.NetBSD.org [IPv6:2001:4f8:3:7:2e0:81ff:fe30:95bd]) by mail.netbsd.org (Postfix) with ESMTP id 39BD663B101 for ; Sat, 7 Aug 2010 06:44:09 +0000 (UTC) Received: by cvs.netbsd.org (Postfix, from userid 500) id 226DF175DD; Sat, 7 Aug 2010 06:44:09 +0000 (UTC) MIME-Version: 1.0 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain Date: Sat, 7 Aug 2010 06:44:09 +0000 From: "Simon J. Gerraty" Subject: CVS commit: src/usr.bin/make To: source-changes@NetBSD.org X-Mailer: log_accum Message-Id: <20100807064409.226DF175DD@cvs.netbsd.org> Sender: source-changes-owner@NetBSD.org List-Id: source-changes.NetBSD.org Precedence: list Reply-To: source-changes-d@NetBSD.org Mail-Reply-To: "Simon J. Gerraty" Mail-Followup-To: source-changes-d@NetBSD.org Module Name: src Committed By: sjg Date: Sat Aug 7 06:44:08 UTC 2010 Modified Files: src/usr.bin/make: compat.c job.c main.c nonints.h Log Message: wait[pid]() is called in several places. If we encounter an error and run the .ERROR target, we may reap a pid which jobs is waiting for. Ensure that we cleanup so that make isn't left waiting for an already deceased child. To generate a diff of this commit: cvs rdiff -u -r1.79 -r1.80 src/usr.bin/make/compat.c cvs rdiff -u -r1.152 -r1.153 src/usr.bin/make/job.c cvs rdiff -u -r1.188 -r1.189 src/usr.bin/make/main.c cvs rdiff -u -r1.59 -r1.60 src/usr.bin/make/nonints.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.