* localtime.cc (tzsetwall): Don't set TZ.

This commit is contained in:
Corinna Vinschen 2007-08-01 13:26:56 +00:00
parent d3dd7d3682
commit e9ff75192a
2 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2007-08-01 Corinna Vinschen <corinna@vinschen.de>
* localtime.cc (tzsetwall): Don't set TZ.
2007-08-01 Corinna Vinschen <corinna@vinschen.de>
* fhandler_disk_file.cc (fhandler_base::fstat_by_handle): Drop

View File

@ -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;
}
}