You've already forked wine-staging
mirror of
https://gitlab.winehq.org/wine/wine-staging.git
synced 2025-09-12 18:50:20 -07:00
Added patch to avoid race-conditions with write watches in WS2_async_accept.
This commit is contained in:
@@ -12,8 +12,7 @@ diff --git a/dlls/ws2_32/socket.c b/dlls/ws2_32/socket.c
|
||||
index 322c5ed..42c7832 100644
|
||||
--- a/dlls/ws2_32/socket.c
|
||||
+++ b/dlls/ws2_32/socket.c
|
||||
@@ -364,6 +364,18 @@ typedef struct ws2_accept_async
|
||||
struct ws2_async *read;
|
||||
@@ -365,4 +365,16 @@ typedef struct ws2_accept_async
|
||||
} ws2_accept_async;
|
||||
|
||||
+typedef struct ws2_transmitfile_async
|
||||
@@ -30,7 +29,6 @@ index 322c5ed..42c7832 100644
|
||||
+
|
||||
/****************************************************************/
|
||||
|
||||
/* ----------------------------------- internal data */
|
||||
@@ -2511,6 +2523,16 @@ static BOOL WS2_transmitfile_base( SOCKET s, HANDLE h, DWORD total_bytes, DWORD
|
||||
buffer = HeapAlloc( GetProcessHeap(), 0, bytes_per_send );
|
||||
if (!buffer) goto cleanup;
|
||||
|
Reference in New Issue
Block a user