This is a workaround for Bug 46266.
Signed-off-by: Akihiro Sagawa sagawa.aki@gmail.com --- dlls/kernel32/time.c | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-)
Hi,
While running your changed tests on Windows, I think I found new failures. Being a bot and all I'm not very good at pattern recognition, so I might be wrong, but could you please double-check?
Full results can be found at: https://testbot.winehq.org/JobDetails.pl?Key=45753
Your paranoid android.
=== debian9 (32 bit WoW report) ===
kernel32: change.c:318: Test failed: should be ready
Akihiro Sagawa sagawa.aki@gmail.com writes:
@@ -340,6 +340,15 @@ static BOOL TIME_GetSpecificTimeZoneKey( const WCHAR *key_name, HANDLE *result ) return TRUE; }
+/*
- Lightweight version of GetTimeZoneInformation.
- If translated time zone name is useless, use this function instead.
- */
+static inline DWORD TIME_GetTimeZoneInformation(TIME_ZONE_INFORMATION *tzinfo) +{
- return RtlQueryTimeZoneInformation((RTL_TIME_ZONE_INFORMATION *)tzinfo);
+}
This wrapper doesn't seem very useful. Also note that the return value is different for Rtl functions.