Re: bin/ln & WARNS=5

"M. Warner Losh" <[email protected]> Mon, 15 Jul 2002 13:23:23 -0600 (MDT)
Newsgroups gmane.os.freebsd.devel.audit
Message-ID <[email protected]>
This looks good to me.  I'd quibble over sizeof path vs sizeof(path),
but that's not enough for you to necessarily change it :-).  We've
also used snprintf in preference to sprintf because the former is a
failsafe interface, while the latter could do weird things if our
checks are incoorect for some reason.  The + 2 looks good to me, and I
agree with it.

Warner

To Unsubscribe: send mail to [email protected]
with "unsubscribe freebsd-audit" in the body of the message