Subject: Re: bin/31532 (nbmake loses track of its children?)
To: None <>
From: Alan Barrett <>
List: netbsd-bugs
Date: 09/30/2006 12:49:44
On Sat, 30 Sep 2006, wrote:
> Synopsis: nbmake loses track of its children?
> Rev 1.117 of usr.bin/make/job.h applies change '3' above.

You mean job.c, not job.h, and change '2', I think: 

2) Have make call wait3(-1, NULL, WNOHANG) on entry to determine if it
   already has children, and skip the message if there are any.

> I suspect that the build scripts in src/distrib/sets/sets.subr could be
> changed to use a quoted 'here doc' when the shell would have a bound on
> the data size and would write it all into the pipe without forking.

You can't assume that the build will be done with NetBSD's /bin/sh.

> OTOH they could be changed so that they contain shell
> loops/conditionals instead of make ones....

Hmmm.  Maybe I'll look into that.

--apb (Alan Barrett)