ChangeSet ID: 14419 CVSROOT: /opt/cvs-commit Module name: wine Changes by: julliard@wine.codeweavers.com 2004/11/05 21:53:53
Modified files: dlls/ntdll/tests: time.c dlls/ntdll : time.c dlls/msvcrt/tests: time.c dlls/msvcrt : time.c dlls/kernel/tests: time.c dlls/kernel : time.c
Log message: Rein Klazes rklazes@xs4all.nl - RtlTimeFieldsToTime should not normalize the time fields structure. Instead return error when it is given an unormalized date. - Use better algorithms for RtlTimeToTimeFields and RtlTimeFieldsToTime. RtlTimeToTimeFields is about 3 times faster. - Add tests for RtlTimeFieldsToTime. - SystemTimeToFileTime must fail if RtlTimeFieldsToTime fails. Users of SystemTimeToFileTime must do likewise. - Remove a todo_wine from SystemTimeToFileTime tests. - Since msvcrt.mktime must accept unnormalized dates, it cannot use SystemTimeToFileTime and do the calculations itself. - Add some tests for mktime accepting unnormalized dates.
Patch: http://cvs.winehq.org/patch.py?id=14419
Old revision New revision Changes Path 1.2 1.3 +16 -2 wine/dlls/ntdll/tests/time.c 1.54 1.55 +67 -85 wine/dlls/ntdll/time.c 1.3 1.4 +62 -1 wine/dlls/msvcrt/tests/time.c 1.19 1.20 +66 -22 wine/dlls/msvcrt/time.c 1.5 1.6 +2 -4 wine/dlls/kernel/tests/time.c 1.45 1.46 +8 -3 wine/dlls/kernel/time.c