richedit: Print hex string for strcmp test failing on Windows 95, 98 & NT4.

Dylan Smith dylan.ah.smith at gmail.com
Thu Oct 2 00:59:46 CDT 2008


I found the test failures on test.winehq.org, but don't have Windows
95, 98 or NT4 installed to debug the failing test properly.

It is hard to debug a strcmp test failing without actually seeing what
is different between the strings.  I chose to print a hex representation
because I also need to see what is in the non-ascii part of the buffer.

If someone wants to run the tests on one of these versions of Windows
that are failing and send me the log, then that would work as well, but
this patch might still be helpful if the test fails in the future due to
a regression.
---
 dlls/riched20/tests/editor.c |   20 ++++++++++++++++++--
 1 files changed, 18 insertions(+), 2 deletions(-)
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0001-richedit-Print-hex-string-for-strcmp-test-failin.diff.txt
Url: http://www.winehq.org/pipermail/wine-patches/attachments/20081002/ff1bbb50/attachment.txt 


More information about the wine-patches mailing list