[Bug 52904] New: kernel32:locale breaks oleaut32:varformat on Wine in the French locale

WineHQ Bugzilla wine-bugs at winehq.org
Tue Apr 26 11:59:13 CDT 2022


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

            Bug ID: 52904
           Summary: kernel32:locale breaks oleaut32:varformat on Wine in
                    the French locale
           Product: Wine
           Version: unspecified
          Hardware: x86-64
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: kernel32
          Assignee: wine-bugs at winehq.org
          Reporter: fgouget at codeweavers.com
      Distribution: ---

kernel32:locale breaks oleaut32:varformat on Wine in the French locale:

varformat.c:642: Test failed: Unexpected hr 0x80020005 for L"0,000 EUR"
varformat.c:649: Test failed: Unexpected hr 0x80020005 for L"0,000 EUR"

https://test.winehq.org/data/patterns.html#oleaut32:varformat

When starting from a clean wineprefix one would normally get "0,000 €" for this
test. But if one runs kernel32:locale before the Euro symbol is replaced with
"EUR" which is then not recognized as a currency symbol.

A bisect shows that the failures started with this commit:

commit 78a33f968461fa3a01d3eec837b4c24f353bc00b
Author:     Alexandre Julliard <julliard at winehq.org>
AuthorDate: Tue Mar 29 22:12:25 2022 +0200

    kernelbase: Reimplement SetLocaleInfoW().

    Signed-off-by: Alexandre Julliard <julliard at winehq.org>


The commit modifies both kernel32 and kernel32:locale, and both parts of the
patch are needed to reproduce the failure.

-- 
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