bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: new module pipe-filter


From: Bruce Korb
Subject: Re: new module pipe-filter
Date: Sun, 19 Jul 2009 20:09:20 -0700

Hi Bruno, Eric, et al.,

Please have a look at GCC's fixincludes.
It needs (and uses) a chain of processes.
See gcc/fixincludes/server.[ch] and ../procopen.c

To solve problems I couldn't figure out, I had to fork() and exit()
the writer to the chain, or the intermediate processes would hang.
Even with closing all the pipes and sending down HUP ioctls.
Nothing I tried worked until the original pipe controlling process
actually exited.  In any event, it ought not be much trouble to
fiddle the interface so you could give this pipe-filter process
an initial FD pair so you could chain a bunch of them together.

Thank you!!

Regards, Bruce




reply via email to

[Prev in Thread] Current Thread [Next in Thread]