-
- Downloads
- 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.
Showing
- dlls/kernel/tests/time.c 2 additions, 4 deletionsdlls/kernel/tests/time.c
- dlls/kernel/time.c 8 additions, 3 deletionsdlls/kernel/time.c
- dlls/msvcrt/tests/time.c 62 additions, 1 deletiondlls/msvcrt/tests/time.c
- dlls/msvcrt/time.c 67 additions, 23 deletionsdlls/msvcrt/time.c
- dlls/ntdll/tests/time.c 16 additions, 2 deletionsdlls/ntdll/tests/time.c
- dlls/ntdll/time.c 68 additions, 86 deletionsdlls/ntdll/time.c
Loading
Please register or sign in to comment