[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Posix Lua VM and os timezone update bug
- From: Roberto Ierusalimschy <roberto@...>
- Date: Fri, 31 Oct 2014 11:51:42 -0200
> If you carefully read the following discussion:
> http://stackoverflow.com/questions/19170721/real-time-awareness-of-timezone-change-in-localtime-vs-localtime-r
> [...]
As far as the official documentation goes, 'tzset' is not garanteed to
be reentrant. Therefore, automatically calling 'tzset' everytime you
are going to call 'localtime_t' seems to defeat the whole point of
using 'localtime_t' (instead of 'localtime').
-- Roberto