krnl386.exe16: Skip invalid entries in GetPrivateProfileString16
Bruno Jesus
00cpxxx at gmail.com
Tue Dec 1 10:09:21 CST 2015
This is a first attempt to send a patch with an external test
application, this is required because the test is 16-bit.
Test source and compiled version are available at
https://bugs.winehq.org/attachment.cgi?id=52962 and for easier test
purposes they are also available separately at:
http://alexa.pro.br/~bruno/wine/profile.c
http://alexa.pro.br/~bruno/wine/profile.exe
The test outputs the results to a file called output.txt since it is
not possible to printf data to the console.
Output before and after:
Line 64 - Success: Test OK
Line 90 - Failed : expected return size 18, got 24
Line 91 - Success: Test OK
Line 93 - Success: Test OK
Line 95 - Failed : expected name4, got name3
Line 97 - Failed : expected end of string sequence, got name4
Tests: 6, Errors 3, Result: FAIL
//=========== after
Line 64 - Success: Test OK
Line 90 - Success: Test OK
Line 91 - Success: Test OK
Line 93 - Success: Test OK
Line 95 - Success: Test OK
Line 97 - Success: Test OK
Tests: 6, Errors 0, Result: SUCCESS
Since the patch affects only 16-bit and does fix a bug I believe it is
OK for code freeze, if not, the patch is already staged and I can
gladly wait (thanks to Sebastian once again for fixing a bug in the
patch and staging).
Fixes bug https://bugs.winehq.org/show_bug.cgi?id=9919
Signed-off-by: Bruno Jesus <00cpxxx at gmail.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-krnl386.exe16-Skip-invalid-entries-in-GetPrivateProf.patch
Type: text/x-diff
Size: 1411 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20151202/8fbb742d/attachment.patch>
More information about the wine-patches
mailing list