From owner-freebsd-audit Mon Jul 15 10:39:17 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 7146737B40D; Mon, 15 Jul 2002 10:39:16 -0700 (PDT) Received: from harmony.village.org (rover.bsdimp.com [204.144.255.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4C96C43E6E; Mon, 15 Jul 2002 10:39:02 -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 g6FH8O1f007840; Mon, 15 Jul 2002 11:08:24 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Mon, 15 Jul 2002 11:08:06 -0600 (MDT) Message-Id: <20020715.110806.107966462.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.092804.90381918.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: : > 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. This has come up before and the result was sizeof(var). Don't change ln.c away from that. ln.c is mostly bsd code already, and I know that NetBSD/OpenBSD do it as sizeof(var) most of the time. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-audit" in the body of the message