cvs commit: src/usr.bin/make job.c job.h main.c make.c

Maxim Sobolev sobomax at portaone.com
Sun Nov 14 16:02:46 GMT 2004


Poul-Henning Kamp wrote:
> In message <41977CCC.8070607 at portaone.com>, Maxim Sobolev writes:
> 
> 
>>Great job! However I wonder if use of pipe(2) would be better way, which 
>>will not leave any traces behind it in the case when all makes die in a 
>>way that prevents them from taking clean up actions (e.g. kill -9).
> 
> 
> That's how gmake does it, and it is no end of trouble because you
> have to hope for the file descriptors to survive open through shell
> scripts and other gunk.  And passing the numeric filedescriptors
> in an environment variable is wrong in all ways it possibly can be.

I see. It does not leave much options indeed.

-Maxim


More information about the cvs-src mailing list