Re: closing extra fd's in gnome_execute_*



On Mon, 11 Jan 1999, Manish Vachharajani wrote:

> On Sun, 10 Jan 1999, Elliot Lee wrote:
> 
> > On 10 Jan 1999, Martin Baulig wrote:
> > 
> > > Well, if I understand this correctly, any program expecting any other file
> > > descriptor than 0, 1 or 2 open won't work when invoked in the shell for
> > > most people (don't know - is something like `foo 5<bar' valid shell syntax?).
> > 
> > Yes. configure scripts depend on this working.
> > 
> 
> Which, combined with some stupid bash stuff and a very large number of
> fd's > 30 or so, cause runs of configure scripts to crash :).  Please let
> me know if you think my committed code is an acceptable compromise.
> 

So, why not just fix bash?  Just closing all file descriptors without
necessarily having any idea why they're open sounds like a horrible kludge
that will someday come back to bite all of us in the ass...

> Manish Vachharajani               Some Haiku: A crash reduces
> <mvachhar@vger.rutgers.edu>                   your expensive computer
>                                               to a simple stone - Unknown
> 
> 
> -- 
>         FAQ: Frequently-Asked Questions at http://www.gnome.org/gnomefaq
>          To unsubscribe: mail gnome-list-request@gnome.org with 
>                        "unsubscribe" as the Subject.
> 
> 



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