[mythtv] open file handles and exec()

Isaac Richards ijr at po.cwru.edu
Mon Jul 14 14:00:37 EDT 2003


On Sunday 13 July 2003 10:25 pm, Geoffrey Hausheer wrote:
> 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 :)

Allrighty, that's in for my next commit, then.  (well, version that uses 
sysconf instead of 9999).

Isaac


More information about the mythtv-dev mailing list