[PATCH 2/2 v2] msvcrt: Use GetDaylightFlag() to set dstflag value in _ftime64.

Akihiro Sagawa sagawa.aki at gmail.com
Fri Dec 21 10:03:12 CST 2018


On Fri, 21 Dec 2018 14:48:15 +0100, Piotr Caban wrote:
> On 12/21/18 2:19 PM, Akihiro Sagawa wrote:
> > How about using is_dst function at msvcrt.c:161? From my point of view,
> > it's the way to set tm_isdst member in _localtime64_s function.
> is_dst function uses tzi global variable that is only updated in
>_tzset function. It will not be updated if time is adjusted while an
>application is running. I didn't check if functions that are currently
>using is_dst helper behave correctly in that case.

Thanks explanation. I got it.

Akihiro Sagawa




More information about the wine-devel mailing list