From owner-freebsd-standards Mon Dec 9 1:12:23 2002 Delivered-To: freebsd-standards@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3A1F037B401 for ; Mon, 9 Dec 2002 01:12:22 -0800 (PST) Received: from popelschnipser.de (ultrakoreggd.org [217.160.78.206]) by mx1.FreeBSD.org (Postfix) with SMTP id 9F0C143EBE for ; Mon, 9 Dec 2002 01:12:20 -0800 (PST) (envelope-from marc@informatik.uni-bremen.de) Received: (qmail 25536 invoked by uid 1048); 9 Dec 2002 09:12:19 -0000 Received: from marc@informatik.uni-bremen.de by p10089345 by uid 1045 with qmail-scanner-1.15 (clamscan: 0.54. spamassassin: 2.42. Clear:. Processed in 0.269912 secs); 09 Dec 2002 09:12:19 -0000 Received: from unknown (HELO ?192.168.100.100?) (217.227.198.245) by ultrakoreggd.org with SMTP; 9 Dec 2002 09:12:19 -0000 Date: Mon, 09 Dec 2002 10:12:17 +0100 From: Marc Recht To: Mike Barcroft Cc: David Schultz , freebsd-standards@FreeBSD.org Subject: Re: POSIX and the real life or FreeBSD too strict ? Message-ID: <1010050000.1039425137@leeloo.intern.geht.de> In-Reply-To: <20021208190404.H74206@espresso.q9media.com> References: <584000000.1039360297@leeloo.intern.geht.de> <20021208203949.GA535@HAL9000.homeunix.com> <758430000.1039382013@leeloo.intern.geht.de> <20021208214357.GA945@HAL9000.homeunix.com> <794560000.1039386792@leeloo.intern.geht.de> <20021208190404.H74206@espresso.q9media.com> X-Mailer: Mulberry/3.0.0b9 (Linux/x86) MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="==========1793468691==========" Sender: owner-freebsd-standards@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --==========1793468691========== Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline [Sorry, missed that.] > As for the extention to allow POSIX and BSD object to both be visible > by defining an extra constant, I don't think this is a very good idea. > You end up with each OS having a different escape word, each being IMHO that extra define gains us much. It makes porting applications easier, = because I could just do: setenv CFLAGS "-D__EXTENSIONS" ./configure I don't have to change in the third-party app anything. The extra define=20 would cost us nothing and the manual could warn about it, like "You're=20 leaving POSIX island now.". > unportable. A much more portable solution would be not to request a > specific standard at all if one requires things outside that > standard's scope. But then you have to change third-party code. Regards, Marc "Premature optimization is the root of all evil." -- Donald E. Knuth --==========1793468691========== Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE99F5x7YQCetAaG3MRAv+EAJsGcekKBBR/VjsoG0ezmoDiIkwRswCfdCE4 oHGS7/MhvVULlKffJ1upRV4= =4X4C -----END PGP SIGNATURE----- --==========1793468691==========-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-standards" in the body of the message