Hi,
On Wed, Mar 29, 2000 at 06:56:54AM -0800, Dunlap, Randy wrote:
>
> I'm not following what you say here. Can you
> elaborate/explain?
When you have a bug, you want the system to complain loudly, so that
the bug can be fixed. If you just ignore it, random corruption can
result, which makes it that much harder to debug the rest of the
system.
If the (arg==NULL) condition is valid, then add explicit tests for
that in the function. If it is not an expected condition, then you
definitely want it to complain loudly, so "if (!arg) BUG;" is much
better than silently returning.
--Stephen
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]