From owner-cvs-all Tue Dec 7 8: 3:29 1999 Delivered-To: cvs-all@freebsd.org Received: from florence.pavilion.net (florence.pavilion.net [212.74.0.25]) by hub.freebsd.org (Postfix) with ESMTP id 78C2314D55; Tue, 7 Dec 1999 08:03:23 -0800 (PST) (envelope-from joe@florence.pavilion.net) Received: (from joe@localhost) by florence.pavilion.net (8.9.3/8.8.8) id QAA70332; Tue, 7 Dec 1999 16:03:20 GMT (envelope-from joe) Date: Tue, 7 Dec 1999 16:03:20 +0000 From: Josef Karthauser To: Bruce Evans Cc: Josef Karthauser , cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/usr.bin/whois whois.c Message-ID: <19991207160319.B67579@florence.pavilion.net> References: <199912062118.NAA04479@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0pre2i In-Reply-To: X-NCC-RegID: uk.pavilion Organisation: Pavilion Internet plc, Lees House, 21-23 Dyke Road, Brighton, England Phone: +44-845-333-5000 Fax: +44-845-333-5001 Mobile: +44-403-596893 Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk On Tue, Dec 07, 1999 at 10:05:55AM +1100, Bruce Evans wrote: > On Mon, 6 Dec 1999, Josef Karthauser wrote: > > > joe 1999/12/06 13:18:34 PST > > > > Modified files: > > usr.bin/whois whois.c > > Log: > > Add braces ({}) to all the places that they're missing. > > > > Revision Changes Path > > 1.15 +35 -19 src/usr.bin/whois/whois.c > > None were missing. Adding around one-line statements is explicitly > forbidden in style(9). > > Bruce I thought that it was _explicity_ required! That way when someone visits the code later they don't need to worry about breaking code because of missing braces. (A major cause of software bug, is it not?) Joe -- Josef Karthauser FreeBSD: How many times have you booted today? Technical Manager Viagra for your server (http://www.uk.freebsd.org) Pavilion Internet plc. [joe@pavilion.net, joe@uk.freebsd.org, joe@tao.org.uk] To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message