[Bug 10767] lstrcmp and others do not compare punctuation characters correctly

wine-bugs at winehq.org wine-bugs at winehq.org
Sat Jul 21 15:12:33 CDT 2012


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

--- Comment #41 from Rafał Mużyło <galtgendo at o2.pl> 2012-07-21 15:12:33 CDT ---
...and in regard of http://source.winehq.org/patches/data/88456
I never looked closer on those tests, but now that you've pointed it out, I
suspect 

     /* \xB9 character lies between a and b */
     ret = CompareStringA(lcid, 0, "a", 1, "\xB9", 1);
     todo_wine ok(ret == CSTR_LESS_THAN, "\'\\xB9\' character should be greater
than \'a\'\n");
     ret = CompareStringA(lcid, 0, "\xB9", 1, "b", 1);
     ok(ret == CSTR_LESS_THAN, "\'\\xB9\' character should be smaller than
\'b\'\n");

is kind of broken right now, just in a different way.

In the light of the previously mentioned article, it's missing a section alike
to:

     ret = CompareStringA(lcid, NORM_IGNORENONSPACE, "a", 1, "\xB9", 1);
     todo_wine ok(ret == CSTR_LESS_THAN, "\'\\xB9\' character should be greater
than \'a\'\n");

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