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

Tako Schotanus quintesse at palacio-cristal.com
Thu Aug 19 15:49:03 EDT 2004


Isaac Richards wrote:

>On Tuesday 17 August 2004 01:29 pm, Daniel Thor Kristjansson wrote:
>  
>
>>  http://www.mrl.nyu.edu/~danielk/mythtv/exit.patch
>>
>>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. I did not address
>>the ones that are removed by David George's patch, nor ones that might
>>exist outside the lib and programs directories.
>>    
>>
>
>Applied..
>
>  
>

Just nit picking but was the MAX number documented somewhere so others 
can keep any new exit codes they add unique as well? :-)

Cheers,
 -Tako



More information about the mythtv-dev mailing list