[Bug 22001] New: datetime.c test fails when LC_CTYPE="ru_RU.UTF-8"

wine-bugs at winehq.org wine-bugs at winehq.org
Wed Mar 10 09:21:43 CST 2010


http://bugs.winehq.org/show_bug.cgi?id=22001

           Summary: datetime.c test fails when LC_CTYPE="ru_RU.UTF-8"
           Product: Wine
           Version: 1.1.40
          Platform: x86
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: testcases
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: b7.10110111 at gmail.com


Here's the output:

comctl32_test.exe.so datetime.c && touch datetime.ok
datetime.c:679: Test failed: Expected 3/10/2010, got 10.03.2010
make[1]: *** [datetime.ok] Error 1

If i set LC_CTYPE=en_US, the test passes.

Here are my locale settings:

$ locale
LANG=en_US
LC_CTYPE=ru_RU.UTF-8
LC_NUMERIC="en_US"
LC_TIME="en_US"
LC_COLLATE="en_US"
LC_MONETARY="en_US"
LC_MESSAGES="en_US"
LC_PAPER="en_US"
LC_NAME="en_US"
LC_ADDRESS="en_US"
LC_TELEPHONE="en_US"
LC_MEASUREMENT="en_US"
LC_IDENTIFICATION="en_US"
LC_ALL=

"3/10/2010" is en_US format, while "10.03.2010" is ru_RU, this means that it's
the test bug since it expects a string in other format than LC_CTYPE specifies.

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
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