From owner-freebsd-arch Sun Feb 25 0: 7:15 2001 Delivered-To: freebsd-arch@freebsd.org Received: from obsecurity.dyndns.org (adsl-63-207-60-199.dsl.lsan03.pacbell.net [63.207.60.199]) by hub.freebsd.org (Postfix) with ESMTP id 5565837B503; Sun, 25 Feb 2001 00:07:02 -0800 (PST) (envelope-from kris@obsecurity.org) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 028FE67150; Sun, 25 Feb 2001 00:07:01 -0800 (PST) Date: Sun, 25 Feb 2001 00:07:01 -0800 From: Kris Kennaway To: Matt Dillon Cc: Bruce Evans , Robert Watson , Nick Sayer , cvs-committers@FreeBSD.ORG, arch@FreeBSD.org Subject: Re: cvs commit: ports/astro/xglobe/files patch-random Message-ID: <20010225000701.B10488@mollari.cthul.hu> References: <200102250640.f1P6e0q11960@earth.backplane.com> <20010224225935.A769@mollari.cthul.hu> <200102250725.f1P7PVs12297@earth.backplane.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="RASg3xLB4tUQ4RcS" Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200102250725.f1P7PVs12297@earth.backplane.com>; from dillon@earth.backplane.com on Sat, Feb 24, 2001 at 11:25:31PM -0800 Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG --RASg3xLB4tUQ4RcS Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Feb 24, 2001 at 11:25:31PM -0800, Matt Dillon wrote: > :This isn't true -- as it stands now, people are writing code which > :produces bad behaviour (e.g. the xglobe stars thing), or is insecure, > :because they are ignoring the documentation. If we add a link-time > :warning it will probably catch more software writers, and the net > :result is positive. It also points out instances of possibly bad > :software which FreeBSD porters and committers can address, again a > :positive change. It wastes no-one's time except about 30 seconds of > :mine, which I was happy to give :-) >=20 > All that adding a compile-time warning will do is annoy anyone trying > to use the interface legitimately. If you have a problem with a > particular programmer's use of the interface, you should email that > programmer. We are not responsible for programmers who ignore=20 > documentation. While it is nice to have some warnings in there, > there is a limit to what we should be doing to save the programmer > from himself. Many of these people aren't even using FreeBSD, so > I really doubt that adding #warnings to our compilation environment > will actually do what you think it will do, especially in regards > to ports. Yes, many software authors don't use FreeBSD, but many do, and the second benefit I pointed out above stands. > People have gone overboard before... the strftime() warning, for > example, is extremely annoying to me because I am using strftime() > exactly the way it is documented to be used. Some overzealous bozo > decided the best way to warn everyone about Y2K was to cause the > compiler to spew warnings out from 2-digit years formatted with > strftime(). Bah. What you are proposing here is something of the > same ilk. Stop complaining to me about strftime, it's not the same thing. Kris --RASg3xLB4tUQ4RcS Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.4 (FreeBSD) Comment: For info see http://www.gnupg.org iD8DBQE6mL0lWry0BWjoQKURAo6pAKDl/mb1qAa5ddux7g6iDnrXfr8qqQCgviz+ Kd4LGPtHLdMw5NCzpBe7wc0= =WSFn -----END PGP SIGNATURE----- --RASg3xLB4tUQ4RcS-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message