kernel: correct CompareStringW

Juan Lang juan_lang at yahoo.com
Wed Jun 21 16:53:45 CDT 2006


As can be seen in the test results for WinXP (e.g. http://test.winehq.org/data/200605161000/xp_jave27-winxp-pro-sp2/kernel32:locale.txt), WinXP handles embedded NULLs differently than earlier versions.  I changed this to match the XP behavior because it impacts oleaut32.  It's still not entirely correct, so I'm leaving one test case todo_wine.  Partial fix for bug 5469.

ChangeLog: Use the WinXP method for comparing strings with embedded NULLs. Update tests.

--Juan

-------------- next part --------------
A non-text attachment was scrubbed...
Name: comparestring.diff
Type: text/x-patch
Size: 2113 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20060621/c34da409/comparestring.diff


More information about the wine-patches mailing list