Re: closing extra fd's in gnome_execute_*



On Sat, Jan 09, 1999 at 01:55:46AM -0500, Manish Vachharajani wrote:
> I have noticed a bug in bash when there are too many fd's around, it
> crashes on certain operations. The thing is, many programs have this
> problem.  They should all be fixed, but this isn't always practical.
> 
> Does anyone see a problem if we close all fd's except 0,1, and 2 in
> gnome_execute_* or should we add a set of functions,
> gnome_execute_(async|shell)_*_closing_fds and have programs use those
> instead?  I assume breaking binary compatiblity by adding a parameter to
> these functions is out of the question due to the code freeze, correct?

I guess you meant source compatibility ... anyway if the current way is
Broke(tm) then this would constitute a bugfix ... it would be better to
keep source compatibility and iron out the ugliness of the API later
(after 1.0)

George

-- 
------------------------------------------------------------------------------
George Lebl <jirka@5z.com> http://www.5z.com/jirka/
------------------------------------------------------------------------------
  The following implements RSA in perl and is illegal to export from the US:

          #!/bin/perl -sp0777i<X+d*lMLa^*lN%0]dsXx++lMlN/dsM0<j]dsj
          $/=unpack('H*',$_);$_=`echo 16dio\U$k"SK$/SM$n\EsN0p[lN*1
          lK[d2%Sa2/d0$^Ixp"|dc`;s/\W//g;$_=pack('H*',/((..)*)$/)



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