coding style for who.c

Rob Landley rob at landley.net
Sat Mar 11 21:24:25 PST 2006


On Saturday 11 March 2006 7:30 pm, Robin Farine wrote:
> Ah yes, I have been bitten by this and completely agree with the
> non-intuitive character of this precedence rule. But I was thinking
> of the warning gcc emits when one writes 'if (a & b)' instead of
> 'if (a && b)' or 'if ((a & b))' where I think the double parenthesis
> clears the ambiguity and thus are worth the little loss of
> readability.
>
> Robin

If one of them is a constant, it emits no warning.

Rob
-- 
Never bet against the cheap plastic solution.


More information about the busybox mailing list