[mythtv] open file handles and exec()

Geoffrey Hausheer ou401cru02 at sneakemail.com
Sun Jul 13 22:25:33 EDT 2003


On Sun, 13 Jul 2003 21:13:42 -0400, "Isaac Richards ijr-at-po.cwru.edu
|mythtv/1.0-Allow|" <e6kbhbk35r0t at sneakemail.com> said:
> On Sunday 13 July 2003 08:34 pm, Geoffrey Hausheer wrote:
> > I have seen crude hacks like:
> >    for (int i = 3; i < 9999; i++)
> >      close(i);
> >
> > but that is just plain nasty.
> 
> It's really the easiest thing to do, though, right after forking.

If you prefer that solution, you don't need an explicit patch from me,
just apply the above in transcoder.cpp :)

.Geoff
-- 
  Geoffrey Hausheer
  XXXXXXXXXXXXXXXXXXXXX


More information about the mythtv-dev mailing list