Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 06 Mar 2002 08:59:18 -0800
From:      Greg Shenaut <greg@bogslab.ucdavis.edu>
To:        hackers@FreeBSD.ORG
Subject:   Re: RFC: style(9) isn't explicit about booleans for testing. 
Message-ID:  <200203061659.g26GxI979195@thistle.bogs.org>
In-Reply-To: Your message of "Wed, 06 Mar 2002 00:52:25 PST." <20020306005225.A6921@dragon.nuxi.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
In message <20020306005225.A6921@dragon.nuxi.com>, "David O'Brien" cleopede:
>I don't think it is clarifying a rule.  I think it is in fact adding a
>rule.  You are extrapolating too much I think.  All the rule is trying
>to prevent is "if (!strcmp(a,b))" which when read is extremely wrong of
>that is actually happening.

Too bad "strcmp" wasn't named "strdiff"--just think of all the hassle
that would have prevented over the years...

Greg Shenaut

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200203061659.g26GxI979195>