From f025e94b3bdd286f2ee3dc88718b923af2a6e55d Mon Sep 17 00:00:00 2001 From: "H.Merijn Brand" Date: Mon, 6 Nov 2006 13:58:56 +0000 Subject: The non-unix parts for localtime_r_needs_tzset Plus forced Glossary entry. That is a TODO for automation p4raw-id: //depot/perl@29213 --- plan9/config.plan9 | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'plan9/config.plan9') diff --git a/plan9/config.plan9 b/plan9/config.plan9 index 99b41e0405..d194b8bbe7 100644 --- a/plan9/config.plan9 +++ b/plan9/config.plan9 @@ -1961,6 +1961,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 @@ -1968,6 +1974,7 @@ * is defined. */ /*#define HAS_LOCALTIME_R / **/ +/*#define LOCALTIME_R_NEEDS_TZSET / **/ #define LOCALTIME_R_PROTO 0 /**/ /* HAS_LONG_DOUBLE: -- cgit v1.2.1