kernel32: Fix a test that fails in win2k3 [try2]

James Hawkins jhawkins at codeweavers.com
Thu Apr 24 22:50:45 CDT 2008


Hi,

According to msdn, the Flags parameter of BindIoCompletionCallback
must be zero.  According to the tests, only win2k3 enforces this
restriction.  This is one of those cases where we can't be more
specific with the test.  One platform returns FALSE and one returns
TRUE for this specific test.  I changed the test to check the last
error on failure; otherwise, we check that the function returns TRUE.

Changelog:
* Fix a test that fails in win2k3.

 dlls/kernel32/tests/sync.c |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

-- 
James Hawkins
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0001-Fix-a-test-that-fails-in-win2k3.txt
Url: http://www.winehq.org/pipermail/wine-patches/attachments/20080424/052f2cd8/attachment.txt 


More information about the wine-patches mailing list