Date: Sun, 14 Nov 2004 16:45:33 +0100 From: "Poul-Henning Kamp" <phk@phk.freebsd.dk> To: Maxim Sobolev <sobomax@portaone.com> Cc: cvs-all@FreeBSD.ORG Subject: Re: cvs commit: src/usr.bin/make job.c job.h main.c make.c Message-ID: <51924.1100447133@critter.freebsd.dk> In-Reply-To: Your message of "Sun, 14 Nov 2004 17:42:04 %2B0200." <41977CCC.8070607@portaone.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?51924.1100447133>