summaryrefslogtreecommitdiff
path: root/mk/bulk
diff options
context:
space:
mode:
authorrillig <rillig>2006-12-10 13:59:31 +0000
committerrillig <rillig>2006-12-10 13:59:31 +0000
commit8405bd70a3ea43f4ab0c68728e78cfe6897b4406 (patch)
treebb1a121c88bd0be23c3397559f3c407bfa8ba419 /mk/bulk
parent63f1b51511d0caf5ffb43e67ea5a51df69bdd518 (diff)
downloadpkgsrc-8405bd70a3ea43f4ab0c68728e78cfe6897b4406.tar.gz
Fixed the creating of numerous zombie processes, which is a bug in the
NetBSD /bin/sh, reported in PR 35227.
Diffstat (limited to 'mk/bulk')
-rw-r--r--mk/bulk/printindex9
1 files changed, 8 insertions, 1 deletions
diff --git a/mk/bulk/printindex b/mk/bulk/printindex
index 82ad5058452..394c490af68 100644
--- a/mk/bulk/printindex
+++ b/mk/bulk/printindex
@@ -1,5 +1,5 @@
#!/bin/sh
-# $NetBSD: printindex,v 1.29 2006/11/26 08:39:52 rillig Exp $
+# $NetBSD: printindex,v 1.30 2006/12/10 13:59:31 rillig Exp $
#
# Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -161,6 +161,13 @@ for pkgdir in $list :detect_duplicates: $BULK_PREREQ; do
esac
if cd "${pkgsrcdir}/${pkgdir}"; then
+
+ # The NetBSD /bin/sh creates lots of zombies for the backticks
+ # line below, and it doesn't clean them up until a real
+ # command is executed. (See PR 35227)
+ #
+ cat </dev/null
+
if output=`${BMAKE} show-var VARNAME=PKGNAME can-be-built-here`; then
reasons=""
{