From: Michael Cummings Date: Fri, 25 Aug 2006 15:48:44 +0000 (-0400) Subject: Re: [PATCH] Detecting bad /dev/null's in Configure X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=77483c227d1b4ce8aaa886af03cc41a9aa805d06;p=p5sagit%2Fp5-mst-13.2.git Re: [PATCH] Detecting bad /dev/null's in Configure Message-ID: <44EF541C.7050801@gentoo.org> p4raw-id: //depot/perl@29216 --- diff --git a/uconfig.h b/uconfig.h index e18a6cc..d618b03 100644 --- a/uconfig.h +++ b/uconfig.h @@ -2251,6 +2251,12 @@ * This symbol, if defined, indicates that the localtime_r routine * is available to localtime re-entrantly. */ +/* LOCALTIME_R_NEEDS_TZSET: + * Many libc's localtime_r implementations do not call tzset, + * making them differ from localtime(), and making timezone + * changes using $ENV{TZ} without explicitly calling tzset + * impossible. This symbol makes us call tzset before localtime_r + */ /* LOCALTIME_R_PROTO: * This symbol encodes the prototype of localtime_r. * It is zero if d_localtime_r is undef, and one of the @@ -2258,6 +2264,7 @@ * is defined. */ /*#define HAS_LOCALTIME_R / **/ +/*#define LOCALTIME_R_NEEDS_TZSET / **/ #define LOCALTIME_R_PROTO 0 /**/ /* HAS_LONG_DOUBLE: