[PATCH v2] msvcrt: Don't use GetDaylightFlag function in _ftime64.
Piotr Caban
piotr.caban at gmail.com
Mon Nov 1 11:58:47 CDT 2021
On 11/1/21 5:37 PM, Zebediah Figura wrote:
> On 11/1/21 9:07 AM, Piotr Caban wrote:
>>
>> The function is not available on current Windows releases.
>>
>> Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=51959
>> Signed-off-by: Piotr Caban <piotr at codeweavers.com>
>> ---
>> dlls/msvcrt/time.c | 5 ++---
>> 1 file changed, 2 insertions(+), 3 deletions(-)
>>
>>
>
> This was added in the first place to avoid the overhead of loading
> tzres.dll. Is that no longer a concern?
>
It's just copying body of GetDaylightFlag function to msvcrt. There's no
change regarding tzres.dll being loaded.
If GetTimeZoneInformation performance is a concern we should probably
avoid calling it too often.
Thanks,
Piotr
More information about the wine-devel
mailing list