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

From: Valdis . Kletnieks
Date: Thu Mar 11 2004 - 10:08:25 EST


On Wed, 10 Mar 2004 13:33:53 EST, "Richard B. Johnson" said:

> People who develop kernel code know the difference between
> '==' and '=' and are never confused my them. If you make

Remember a few months ago when a lot of very clever people looked at
a line of code that said 'if (yadda yadda && (uid = 0))' that had been
inserted into the CVS tree, and it took a while for some of the very clever
people to notice the equally clever hack?

Attachment: pgp00000.pgp
Description: PGP signature