[Git][wine/wine][master] ntdll: Avoid expensive inverted DST check on get_timezone_info() cache hit path.
Alexandre Julliard pushed to branch master at wine / wine Commits: e3394292 by Zhou Qiankang at 2026-03-16T23:08:24+01:00 ntdll: Avoid expensive inverted DST check on get_timezone_info() cache hit path. 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. Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=59514 Signed-off-by: Zhou Qiankang <wszqkzqk@qq.com> - - - - - 1 changed file: - dlls/ntdll/unix/system.c View it on GitLab: https://gitlab.winehq.org/wine/wine/-/commit/e3394292156b8f162ae120a1d0172a7... -- View it on GitLab: https://gitlab.winehq.org/wine/wine/-/commit/e3394292156b8f162ae120a1d0172a7... You're receiving this email because of your account on gitlab.winehq.org.
participants (1)
-
Alexandre Julliard (@julliard)