* localtime.cc (tzsetwall): Don't set TZ.
This commit is contained in:
parent
d3dd7d3682
commit
e9ff75192a
@ -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>
|
2007-08-01 Corinna Vinschen <corinna@vinschen.de>
|
||||||
|
|
||||||
* fhandler_disk_file.cc (fhandler_base::fstat_by_handle): Drop
|
* fhandler_disk_file.cc (fhandler_base::fstat_by_handle): Drop
|
||||||
|
@ -1456,7 +1456,11 @@ tzsetwall P((void))
|
|||||||
settzname();
|
settzname();
|
||||||
lcl_is_set = 1;
|
lcl_is_set = 1;
|
||||||
strlcpy(lcl_TZname, buf, sizeof (lcl_TZname));
|
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);
|
setenv("TZ", lcl_TZname, 1);
|
||||||
|
#endif
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user