* localtime.cc (tzset): Call tzsetwall only if it hasn't been
called before.
This commit is contained in:
parent
fb09a73e93
commit
4b93ac1f7f
@ -1,3 +1,8 @@
|
||||
2007-12-11 Corinna Vinschen <corinna@vinschen.de>
|
||||
|
||||
* localtime.cc (tzset): Call tzsetwall only if it hasn't been
|
||||
called before.
|
||||
|
||||
2007-12-07 Corinna Vinschen <corinna@vinschen.de>
|
||||
|
||||
* include/sys/cygwin.h: Include limits.h.
|
||||
|
@ -1476,7 +1476,8 @@ tzset P((void))
|
||||
const char * name = getenv("TZ");
|
||||
|
||||
if (name == NULL) {
|
||||
tzsetwall();
|
||||
if (!lcl_is_set)
|
||||
tzsetwall();
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user