[mythtv] [patch] Exit Uniqueness, a cleanup patch

Ed Wildgoose lists at wildgooses.com
Tue Aug 17 14:43:09 EDT 2004


>This scratches an itch for me. There are about a hundred random exit
>calls in the code. I made each one that represented an error condition
>have a unique return code*. This means you can find out where your
>program exited by simply looking at the return code. 
>

This seems like an excellent idea.  I have had a few bugs that have been 
a little hard to track down because it was hard to see where the code 
was exiting (and gdb was playing up in some strange way as well...)

Thanks

Ed W


More information about the mythtv-dev mailing list