[Bug 51407] kernel32:time, msvcrt:time and shlwapi:ordinal fail in Wine because Hindi is Unicode-only

WineHQ Bugzilla wine-bugs at winehq.org
Mon Jul 5 20:39:31 CDT 2021


https://bugs.winehq.org/show_bug.cgi?id=51407

François Gouget <fgouget at codeweavers.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|kernel32:time's             |kernel32:time, msvcrt:time
                   |test_GetCalendarInfo()      |and shlwapi:ordinal fail in
                   |fails in Hindi              |Wine because Hindi is
                   |                            |Unicode-only

--- Comment #2 from François Gouget <fgouget at codeweavers.com> ---
This issue also impacts:

* test_strdate() and test_strtime() in msvcrt:time

time.c:378: Test failed: Wrong length: returned 37, should be 8
time.c:380: Test failed: Wrong format: count = 0, should be 3
time.c:413: Test failed: Wrong length: returned 0, should be 8
time.c:415: Test failed: Wrong format: count = -1, should be 3

* test_SHFormatDateTimeA() in shlwapi:ordinal

ordinal.c:1724: Test failed: got 0   -> not shown: GetLastError() is
ERROR_INVALID_PARAMETER
ordinal.c:1725: Test failed: expected ( ), got (19:20)
ordinal.c:1731: Test failed: got 0
ordinal.c:1732: Test failed: expected ( ), got (19:20:01)
ordinal.c:1739: Test failed: got 0
ordinal.c:1740: Test failed: expected ( ), got (19:20:01)
ordinal.c:1746: Test failed: got 0
ordinal.c:1747: Test failed: expected ( ), got (02-07-2021)
ordinal.c:1753: Test failed: got 0
ordinal.c:1754: Test failed: expected ( ), got (02 ????? 2021)
ordinal.c:1761: Test failed: got 0
ordinal.c:1762: Test failed: expected ( ), got (02 ????? 2021)
ordinal.c:1769: Test failed: got 0
ordinal.c:1770: Test failed: expected (^), got (:20) for time part
ordinal.c:1774: Test failed: got 0
ordinal.c:1776: Test failed: expected ( ) got (0) for date part
ordinal.c:1783: Test failed: got 0
ordinal.c:1784: Test failed: expected (^), got (:01) for time part
ordinal.c:1788: Test failed: got 0
ordinal.c:1790: Test failed: expected ( ) got (0) for date part
ordinal.c:1797: Test failed: got 0
ordinal.c:1800: Test failed: got 0
ordinal.c:1802: Test failed: expected (  ^), got (02-07-2021 19:20)
ordinal.c:1808: Test failed: got 0
ordinal.c:1811: Test failed: got 0
ordinal.c:1813: Test failed: expected (  ^ ^), got (02-07-2021 19:20:01)


The attached broken NLS_IsUnicodeOnlyLcid() patch fixes these failures too.

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.


More information about the wine-bugs mailing list