On 7/12/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>[EMAIL PROTECTED] wrote:
>> Padraig suggests to change the debug/logging output in the broken
>> programs that way; that seems like a fine solution.  In debugging output
>> NULL is potentially interesting.
>
>Guess why my personal printf() does this...;-)
>
>I know that I may add some simple debug printf()s to my program without
>needing to care about NULL pointers.


Yes; but it is *really* bad for production code because it will
cause code to continue to run in the presence of bugs.

Casper

For more of a devil's advocate view, take a look at this research
about "Failure Oblivious Computing" at http://lwn.net/Articles/188059/
and http://www.usenix.org/events/osdi04/tech/rinard.html.

Mike

--
Mike Gerdts
http://mgerdts.blogspot.com/
_______________________________________________
opensolaris-code mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code

Reply via email to