From owner-freebsd-audit Mon Jul 15 10:56:31 2002 Delivered-To: freebsd-audit@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B57DC37B400; Mon, 15 Jul 2002 10:56:29 -0700 (PDT) Received: from harmony.village.org (rover.bsdimp.com [204.144.255.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id DEBD943E70; Mon, 15 Jul 2002 10:56:27 -0700 (PDT) (envelope-from imp@bsdimp.com) Received: from localhost (warner@rover2.village.org [10.0.0.1]) by harmony.village.org (8.12.3/8.12.3) with ESMTP id g6FHuQ1f008152; Mon, 15 Jul 2002 11:56:26 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Mon, 15 Jul 2002 11:56:10 -0600 (MDT) Message-Id: <20020715.115610.117908719.imp@bsdimp.com> To: des@ofug.org Cc: keramida@FreeBSD.ORG, bde@zeta.org.au, freebsd-audit@FreeBSD.ORG Subject: Re: bin/ln & WARNS=5 From: "M. Warner Losh" In-Reply-To: References: <20020715.110806.107966462.imp@bsdimp.com> X-Mailer: Mew version 2.1 on Emacs 21.1 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-audit@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In message: Dag-Erling Smorgrav writes: : "M. Warner Losh" writes: : > Dag-Erling Smorgrav writes: : > : "M. Warner Losh" writes: : > : > In any event, sizeof(var) is the BSD way of saying that. : > : Not according to bde + a significant amount of source code. : > I think you are wrong. : : 7+ kloc (including OpenSSH, and some very old BSD code like : src/games/) say I'm not. ln isn't in this style, nor is most of src/bin. Don't change it, ok? Of src/bin, I could only find 'sizeof var' in sh. The vast majority of other instances were sizeof(var). Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-audit" in the body of the message