Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2007-08-01 17:26:56 +0400
committerCorinna Vinschen <corinna@vinschen.de>2007-08-01 17:26:56 +0400
commite9ff75192a61741d7f0b3c61e04a7648b195aed5 (patch)
treebf73944499e186fcb1a176b34b765489753854d6 /winsup/cygwin/localtime.cc
parentd3dd7d36822391acdc70aed2133dbda14cdb7fed (diff)
* localtime.cc (tzsetwall): Don't set TZ.
Diffstat (limited to 'winsup/cygwin/localtime.cc')
-rw-r--r--winsup/cygwin/localtime.cc4
1 files changed, 4 insertions, 0 deletions
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;
}
}