From e9ff75192a61741d7f0b3c61e04a7648b195aed5 Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Wed, 1 Aug 2007 13:26:56 +0000 Subject: * localtime.cc (tzsetwall): Don't set TZ. --- winsup/cygwin/localtime.cc | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'winsup/cygwin/localtime.cc') diff --git a/winsup/cygwin/localtime.cc b/winsup/cygwin/localtime.cc index b8b1a6013..1dab62793 100644 --- a/winsup/cygwin/localtime.cc +++ b/winsup/cygwin/localtime.cc @@ -1456,7 +1456,11 @@ tzsetwall P((void)) settzname(); lcl_is_set = 1; strlcpy(lcl_TZname, buf, sizeof (lcl_TZname)); +#if 0 + /* Huh? POSIX doesn't mention anywhere that tzset should + set $TZ. That's not right. */ setenv("TZ", lcl_TZname, 1); +#endif return; } } -- cgit v1.2.3