From owner-cvs-src-old@FreeBSD.ORG Mon May 24 10:36:17 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 A4D061065748 for ; Mon, 24 May 2010 10:36:17 +0000 (UTC) (envelope-from jilles@FreeBSD.org) Received: from repoman.freebsd.org (unknown [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 95CB28FC22 for ; Mon, 24 May 2010 10:36:17 +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 o4OAaHFh020260 for ; Mon, 24 May 2010 10:36:17 GMT (envelope-from jilles@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id o4OAaH11020259 for cvs-src-old@freebsd.org; Mon, 24 May 2010 10:36:17 GMT (envelope-from jilles@repoman.freebsd.org) Message-Id: <201005241036.o4OAaH11020259@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to jilles@repoman.freebsd.org using -f From: Jilles Tjoelker Date: Mon, 24 May 2010 10:35:57 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/bin/sh jobs.c 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: Mon, 24 May 2010 10:36:17 -0000 jilles 2010-05-24 10:35:57 UTC FreeBSD src repository Modified files: bin/sh jobs.c Log: SVN rev 208489 on 2010-05-24 10:35:57Z by jilles sh: Reap any zombies before forking for a background command. This prevents accumulating huge amounts of zombies if a script executes many background commands but no external commands or subshells. Note that zombies will not be reaped during long calculations (within the shell process) or read builtins, but those actions do not create more zombies. The terminated background commands will also still be remembered by the shell. PR: bin/55346 Revision Changes Path 1.76 +13 -1 src/bin/sh/jobs.c