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

wine-bugs at winehq.org wine-bugs at winehq.org
Thu Dec 13 17:15:23 CST 2007


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

           Summary: lstrcmp and others do not compare punctuation characters
                    correctly
           Product: Wine
           Version: CVS/GIT
          Platform: Other
        OS/Version: other
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: wine-kernel
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: lich at math.spbu.ru


just example:

 ret = lstrcmpi("# (Search for Disassembly Pattern)", ".RELOAD (Reload
Symbols)");

wine returns '1' here, but must '-1' since ord('#')=23h < 2Eh=ord('.'). Windows
handles this case correctly. GLIBC strcasecmp works correctly too.

 This bug heavily affects winhelp index lookup in WIN32.HLP borland help file,
which has lots of #.&*()[]

P.S. It is not a locale problem, so this bug is not a duplicate of bug #9583


-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list