[mythtv] patch to add native lirc support

Anduin Withers awithers at anduin.com
Sun Aug 10 18:09:56 EDT 2003


> As long as you're adding this function, I suggest also using it to close
all
> of myth's file descriptors other than stdin, stdout and stderr, as is done
> when calling the external channel command, etc., and using it in these
other
> instances as well.


It is a real system() call currently, not a fork/exec call. If I closed all
the non-default file handles... well then all the file handles would be
closed.

Arguably myth_system could fork/exec/waitpid and then do the file handle
closing.

--
Anduin Withers




More information about the mythtv-dev mailing list