Re: (0 == foo), rather than (foo == 0)

From: Chip Salzenberg
Date: Thu Mar 11 2004 - 11:43:41 EST


Valdis.Kletnieks@xxxxxx writes:
>+ if ((options == (__WCLONE|__WALL)) && (current->uid = 0))

I remember that. I wasn't scanning changes, but when it was shown up
in the news stories, I wasn't visually fooled for even a second. You
can't code in C for decades without picking up good = vs. == radar.
--
Chip Salzenberg - a.k.a. - <chip@xxxxxxxxx>
"I wanted to play hopscotch with the impenetrable mystery of existence,
but he stepped in a wormhole and had to go in early." // MST3K
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/