Michael Jung wrote:
> I've always thought that the order in which subexpressions are evaluated
> is not specified in the C language. Isn't there the danger of a NULL
> pointer dereference given here?
I don't think so. Order is expressed and is from left to right, so if you have
two functions and d
On Sat, Jul 24, 2004 at 08:38:25PM +0200, Michael Jung wrote:
> Hello,
>
> this is slightly of topic for this mailing list. However, it would be nice if
> someone could answer my question. I've seen that Alexandre changed the if
> statement expression in one of my patches from
>
> if (pszProvider
Hello,
this is slightly of topic for this mailing list. However, it would be nice if
someone could answer my question. I've seen that Alexandre changed the if
statement expression in one of my patches from
if (pszProvider ? *pszProvider == '\0' : 1)
to
if (!pszProvider || !*pszProvider)
I've a