On Wed, Sep 22, 2010 at 4:58 AM, Alex Rousskov
<rousskov_at_measurement-factory.com> wrote:
> Squid will most likely not work if NULL is not false. 0xCDCDCDCD is not
> false. Consider:
>
> some_pointer = some_function_that_may_return_NULL();
> if (!some_pointer)
> ...
When compilers do that, they also translate the if expression appropriately.
But they are also meant to handle NULL vs 0 transparently in that case, AIUI.
-Rob
Received on Tue Sep 21 2010 - 18:49:38 MDT
This archive was generated by hypermail 2.2.0 : Wed Sep 22 2010 - 12:00:07 MDT