Kai Blin : ws2_32: Win98 closesocket() does not wake up select.
Alexandre Julliard
julliard at winehq.org
Thu Sep 11 08:01:30 CDT 2008
Module: wine
Branch: master
Commit: 4b4109a6470348533c44cab8bef6be7e631c3f3e
URL: http://source.winehq.org/git/wine.git/?a=commit;h=4b4109a6470348533c44cab8bef6be7e631c3f3e
Author: Kai Blin <kai.blin at gmail.com>
Date: Thu Sep 11 14:30:41 2008 +0200
ws2_32: Win98 closesocket() does not wake up select.
---
dlls/ws2_32/tests/sock.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/dlls/ws2_32/tests/sock.c b/dlls/ws2_32/tests/sock.c
index 01399b1..715516d 100644
--- a/dlls/ws2_32/tests/sock.c
+++ b/dlls/ws2_32/tests/sock.c
@@ -1687,7 +1687,9 @@ static void test_select(void)
ok ( (ret == 0), "closesocket failed unexpectedly: %d\n", ret);
WaitForSingleObject (thread_handle, 1000);
- ok ( (thread_params.ReadKilled), "closesocket did not wakeup select\n");
+ ok ( (thread_params.ReadKilled) ||
+ broken(thread_params.ReadKilled == 0), /*Win98*/
+ "closesocket did not wakeup select\n");
}
More information about the wine-cvs
mailing list