From owner-freebsd-hackers Wed Mar 6 9: 0:12 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from bogslab.ucdavis.edu (bogslab.ucdavis.edu [169.237.68.34]) by hub.freebsd.org (Postfix) with ESMTP id 3F38037B417 for ; Wed, 6 Mar 2002 09:00:01 -0800 (PST) Received: from thistle.bogs.org (thistle.bogs.org [198.137.203.61]) by bogslab.ucdavis.edu (8.9.3/8.9.3) with ESMTP id IAA06081 for ; Wed, 6 Mar 2002 08:59:55 -0800 (PST) (envelope-from greg@bogslab.ucdavis.edu) Received: from thistle.bogs.org (localhost [127.0.0.1]) by thistle.bogs.org (8.11.3/8.11.3) with ESMTP id g26GxI979195 for ; Wed, 6 Mar 2002 08:59:18 -0800 (PST) (envelope-from greg@thistle.bogs.org) Message-Id: <200203061659.g26GxI979195@thistle.bogs.org> To: hackers@FreeBSD.ORG X-To: "David O'Brien" X-Sender: owner-freebsd-hackers@FreeBSD.ORG Subject: Re: RFC: style(9) isn't explicit about booleans for testing. In-reply-to: Your message of "Wed, 06 Mar 2002 00:52:25 PST." <20020306005225.A6921@dragon.nuxi.com> Reply-To: gkshenaut@ucdavis.edu Date: Wed, 06 Mar 2002 08:59:18 -0800 From: Greg Shenaut Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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