Re: bin/ln & WARNS=5

Bruce Evans <[email protected]> Tue, 16 Jul 2002 05:26:02 +1000 (EST)
Newsgroups gmane.os.freebsd.devel.audit
Message-ID <[email protected]>
On 15 Jul 2002, Dag-Erling Smorgrav wrote:

> "M. Warner Losh" <[email protected]> writes:
> > Dag-Erling Smorgrav <[email protected]> writes:
> > : "M. Warner Losh" <[email protected]> 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 [email protected]
with "unsubscribe freebsd-audit" in the body of the message