On 2010-08-24 15:59 , Chet Ramey wrote:
> Well, if they cause bash to crash, I suppose removing that code (or
> removing the #define) is a good place to start.
> 
> That code has been there for a very long time.  Maybe if you changed it
> to turn on the FD_CLOEXEC bit instead of closing the fd we could solve
> the problem.  There is a SET_CLOSE_ON_EXEC(fd) macro you can use to do
> that.

I now applied a patch locally which replaces close() with
SET_CLOSE_ONEXEC(). Resolves the problem for me and is probably a better
solution than removing the code completely.

Thanks,
Rainer

Reply via email to