Re: GetTimeZoneInformation return value fix
Rein Klazes <rklazes(a)xs4all.nl> writes:
- reordered some code from the existing helper _GetTimeZoneBias to make it more general useful (and changed the helper names to TIME_xyz). - Make GetTimeZoneInformation return the correct zone id constants. - changed some "const LPX_Y_Z" declarations to "const X_Y_Z *"
This breaks the msvcrt tests: ../../../tools/runtest -q -P wine -M msvcrt.dll -T ../../.. -p msvcrt_test.exe.so time.c && touch time.ok time.c:101: Test failed: Wrong date:Year 70 mon 0 yday 1 mday 2 wday 5 hour 0 min 0 sec 0 dst -1 time.c:112: Test failed: Wrong date:Year 70 mon 0 yday 1 mday 2 wday 5 hour 0 min 0 sec 0 dst -1 -- Alexandre Julliard julliard(a)winehq.org
On Tue, 26 Oct 2004 15:43:45 -0700, you wrote:
This breaks the msvcrt tests:
../../../tools/runtest -q -P wine -M msvcrt.dll -T ../../.. -p msvcrt_test.exe.so time.c && touch time.ok time.c:101: Test failed: Wrong date:Year 70 mon 0 yday 1 mday 2 wday 5 hour 0 min 0 sec 0 dst -1 time.c:112: Test failed: Wrong date:Year 70 mon 0 yday 1 mday 2 wday 5 hour 0 min 0 sec 0 dst -1
This fixes it here. Changelog: dlls/msvcrt : time.c In MSVCRT_localtime() return tm_isdst = 0 when there are no daylight time changes in the local time zone. Rein. -- Rein Klazes rklazes(a)xs4all.nl
participants (2)
-
Alexandre Julliard -
Rein Klazes