March 16, 2026
1:42 p.m.
inverted DST detection (two mktime() calls) out of the cache hit fast path in get_timezone_info(). Keep the cache key based on the cheap raw bias value and only compute inverted_dst/adjusted_bias on cache miss. Preserve the inverse DST correctness fix by still applying adjusted_bias to tzi->Bias in the slow path. This restores fast-path behavior for frequent GetTimeZoneInformation callers without regressing inverse DST handling. Fixes regression: bfae6eb8b4f6 ("ntdll: Fix get_timezone_info() for timezones defined with inverse DST on Unix.") Fixes: https://bugs.winehq.org/show_bug.cgi?id=59514 Signed-off-by: Zhou Qiankang <wszqkzqk@qq.com> -- https://gitlab.winehq.org/wine/wine/-/merge_requests/10348