From owner-cvs-all Wed Feb 21 4:37:45 2001 Delivered-To: cvs-all@freebsd.org Received: from gw.nectar.com (gw.nectar.com [208.42.49.153]) by hub.freebsd.org (Postfix) with ESMTP id 7323037B491; Wed, 21 Feb 2001 04:37:41 -0800 (PST) (envelope-from nectar@nectar.com) Received: by gw.nectar.com (Postfix, from userid 1001) id 5104C18C92; Wed, 21 Feb 2001 06:37:40 -0600 (CST) Date: Wed, 21 Feb 2001 06:37:40 -0600 From: "Jacques A. Vidrine" To: Ben Smithurst , cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/share/man/man9 style.9 Message-ID: <20010221063740.A7576@spawn.nectar.com> Mail-Followup-To: "Jacques A. Vidrine" , Ben Smithurst , cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org References: <200102211210.f1LCAKN41997@freefall.freebsd.org> <20010221141342.A98551@ringworld.oblivion.bg> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010221141342.A98551@ringworld.oblivion.bg>; from roam@orbitel.bg on Wed, Feb 21, 2001 at 02:13:42PM +0200 X-Url: http://www.nectar.com/ Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, Feb 21, 2001 at 02:13:42PM +0200, Peter Pentchev wrote: > I've sometimes seen tests like: > > if (error = function(a1, a2), error != 0) > > Is this not a bit clearer? Oh no. If you are offended by ((foo = bar()) != 0), then expand it normally: foo = bar(); if (foo != 0) ... Cheers, -- Jacques Vidrine / n@nectar.com / jvidrine@verio.net / nectar@FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message