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

Piotr Caban piotr at codeweavers.com
Fri Dec 21 07:48:15 CST 2018


Hi Akihiro,

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,
Piotr



More information about the wine-devel mailing list