Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 Nov 2004 18:02:32 +0200
From:      Maxim Sobolev <sobomax@portaone.com>
To:        Poul-Henning Kamp <phk@phk.freebsd.dk>
Cc:        cvs-all@FreeBSD.ORG
Subject:   Re: cvs commit: src/usr.bin/make job.c job.h main.c make.c
Message-ID:  <41978198.5060303@portaone.com>
In-Reply-To: <51924.1100447133@critter.freebsd.dk>
References:  <51924.1100447133@critter.freebsd.dk>

next in thread | previous in thread | raw e-mail | index | archive | help
Poul-Henning Kamp wrote:
> In message <41977CCC.8070607@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?41978198.5060303>