This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Re: [PATCH] Detecting bad /dev/null's in Configure
authorMichael Cummings <mcummings@gentoo.org>
Fri, 25 Aug 2006 15:48:44 +0000 (11:48 -0400)
committerH.Merijn Brand <h.m.brand@xs4all.nl>
Mon, 6 Nov 2006 15:16:37 +0000 (15:16 +0000)
Message-ID: <44EF541C.7050801@gentoo.org>

p4raw-id: //depot/perl@29216

uconfig.h

index e18a6cc..d618b03 100644 (file)
--- a/uconfig.h
+++ b/uconfig.h
  *     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
  *     is defined.
  */
 /*#define HAS_LOCALTIME_R         / **/
+/*#define LOCALTIME_R_NEEDS_TZSET         / **/
 #define LOCALTIME_R_PROTO 0       /**/
 
 /* HAS_LONG_DOUBLE: