From owner-freebsd-audit Mon Jul 15 12:22:59 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 4860537B400; Mon, 15 Jul 2002 12:22:57 -0700 (PDT) Received: from mailman.zeta.org.au (mailman.zeta.org.au [203.26.10.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id A4BFA43E67; Mon, 15 Jul 2002 12:22:55 -0700 (PDT) (envelope-from bde@zeta.org.au) Received: from bde.zeta.org.au (bde.zeta.org.au [203.2.228.102]) by mailman.zeta.org.au (8.9.3/8.8.7) with ESMTP id FAA32313; Tue, 16 Jul 2002 05:22:32 +1000 Date: Tue, 16 Jul 2002 05:26:02 +1000 (EST) From: Bruce Evans X-X-Sender: bde@gamplex.bde.org To: Dag-Erling Smorgrav Cc: "M. Warner Losh" , , Subject: Re: bin/ln & WARNS=5 In-Reply-To: Message-ID: <20020716051814.Q41695-100000@gamplex.bde.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 On 15 Jul 2002, Dag-Erling Smorgrav wrote: > "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. That is a bug in 7+ kloc. No so very old code like src/bin/ln (together with most of src/bin and large parts of src/{sbin,usr.bin,usr.sbin} was obviously cleaned up to have a common style in 4.4BSD or earlier. Equally obviously, the cleanup didn't get as far as src/games. Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-audit" in the body of the message