[Python-Dev] Snake farm (original) (raw)

Marc Recht marc@informatik.uni-bremen.de
10 Nov 2002 18:23:17 +0100


--=-+VgZ8mFH+pNg5ehotgxF Content-Type: text/plain Content-Transfer-Encoding: 7bit

I don't like this approach. For -CURRENT, I would outright reject any such patch; there should be a way to enable extensions even if A somewhat simpler solution/work-around would be to define __BSD_VISIBLE (patch attached). But the cleanest way would be to not define _XOPEN_SOURCE, XOPEN_SOURCE_EXTENDED and _POSIX_C_SOURCE on FreeBSD 5.

POSIXCSOURCE is defined. Perhaps they reconsider until they release the system. Unlikely. The release is scheduled for the 20th of November.

OTOH, why absence of chroot a problem? Should not HAVECHROOT be undefined if chroot is hidden? It isn't.

Regards, Marc

"Premature optimization is the root of all evil." -- Donald E. Knuth

--=-+VgZ8mFH+pNg5ehotgxF Content-Disposition: attachment; filename=pyconfig.h.in.diff Content-Transfer-Encoding: quoted-printable Content-Type: text/x-patch; name=pyconfig.h.in.diff; charset=ISO-8859-1

*** pyconfig.h.in.orig Sun Nov 10 17:59:23 2002 --- pyconfig.h.in Sun Nov 10 18:01:04 2002


*** 805,810 **** --- 805,813 ---- /* Define to activate Unix95-and-earlier features */ #undef _XOPEN_SOURCE_EXTENDED =20

+=20 /* Define to 1 if type `char' is unsigned and you are not using gcc. */ #ifndef CHAR_UNSIGNED

undef CHAR_UNSIGNED

--=-+VgZ8mFH+pNg5ehotgxF Content-Disposition: attachment; filename=configure.in.diff Content-Transfer-Encoding: quoted-printable Content-Type: text/x-patch; name=configure.in.diff; charset=ISO-8859-1

*** configure.in.orig Sun Nov 10 17:59:34 2002 --- configure.in Sun Nov 10 18:02:01 2002


*** 43,48 **** --- 43,49 ----

we define it globally.

AC_DEFINE(_XOPEN_SOURCE_EXTENDED, 1, Define to activate Unix95-and-earlie= r features) AC_DEFINE(_POSIX_C_SOURCE, 199506L, Define to activate features from IEEE= Stds 1003.{123}-1995)

--=-+VgZ8mFH+pNg5ehotgxF--