Rebase against 22970932d014f024fcf7f0f98b1a5384b1b1eb99.

This commit is contained in:
Alistair Leslie-Hughes
2020-06-12 09:35:12 +10:00
parent 7934e14fc0
commit 11f545447b
7 changed files with 80 additions and 76 deletions

View File

@@ -1,4 +1,4 @@
From 6cc54a973b9b786166db76df6a4f0a33867103ce Mon Sep 17 00:00:00 2001
From b8b29d74bc946a359d9296a051371b78f88570d5 Mon Sep 17 00:00:00 2001
From: Sebastian Lackner <sebastian@fds-team.de>
Date: Sun, 6 Sep 2015 12:41:17 +0200
Subject: [PATCH] ws2_32: Invalidate client-side file descriptor cache in
@@ -17,10 +17,10 @@ Subject: [PATCH] ws2_32: Invalidate client-side file descriptor cache in
9 files changed, 36 insertions(+), 5 deletions(-)
diff --git a/dlls/ntdll/ntdll.spec b/dlls/ntdll/ntdll.spec
index e054eabba3a..82ed6c68cbe 100644
index a9422723b71..e4f2f0e9c2b 100644
--- a/dlls/ntdll/ntdll.spec
+++ b/dlls/ntdll/ntdll.spec
@@ -1576,6 +1576,7 @@
@@ -1578,6 +1578,7 @@
# Server interface
@ cdecl -norelay wine_server_call(ptr)
@@ -48,10 +48,10 @@ index 9e1cc85a36e..3f4ba60b7bb 100644
/***********************************************************************
* wine_server_release_fd (NTDLL.@)
diff --git a/dlls/ntdll/unix/loader.c b/dlls/ntdll/unix/loader.c
index eac43ba42c4..cd11d0d647e 100644
index 370a57dea9e..29d7c1c681c 100644
--- a/dlls/ntdll/unix/loader.c
+++ b/dlls/ntdll/unix/loader.c
@@ -1089,6 +1089,7 @@ static struct unix_funcs unix_funcs =
@@ -927,6 +927,7 @@ static struct unix_funcs unix_funcs =
get_thread_ldt_entry,
wine_server_call,
server_send_fd,
@@ -60,10 +60,10 @@ index eac43ba42c4..cd11d0d647e 100644
server_fd_to_handle,
server_handle_to_fd,
diff --git a/dlls/ntdll/unix/server.c b/dlls/ntdll/unix/server.c
index cf6f6c3832c..586d0ffcf72 100644
index 5faca657783..2e278480896 100644
--- a/dlls/ntdll/unix/server.c
+++ b/dlls/ntdll/unix/server.c
@@ -995,6 +995,26 @@ static int remove_fd_from_cache( HANDLE handle )
@@ -1003,6 +1003,26 @@ static int remove_fd_from_cache( HANDLE handle )
return fd;
}
@@ -91,10 +91,10 @@ index cf6f6c3832c..586d0ffcf72 100644
/***********************************************************************
* server_get_unix_fd
diff --git a/dlls/ntdll/unix/unix_private.h b/dlls/ntdll/unix/unix_private.h
index 3e61111cba5..ae0c47b5a79 100644
index d2586556f6e..e26a64fdac0 100644
--- a/dlls/ntdll/unix/unix_private.h
+++ b/dlls/ntdll/unix/unix_private.h
@@ -95,6 +95,7 @@ extern void CDECL virtual_release_address_space(void) DECLSPEC_HIDDEN;
@@ -100,6 +100,7 @@ extern void CDECL virtual_release_address_space(void) DECLSPEC_HIDDEN;
extern void CDECL virtual_set_large_address_space(void) DECLSPEC_HIDDEN;
extern void CDECL server_send_fd( int fd ) DECLSPEC_HIDDEN;
@@ -103,19 +103,19 @@ index 3e61111cba5..ae0c47b5a79 100644
int *needs_close, enum server_fd_type *type,
unsigned int *options ) DECLSPEC_HIDDEN;
diff --git a/dlls/ntdll/unixlib.h b/dlls/ntdll/unixlib.h
index 80d3ce27601..4c580c49d13 100644
index 54705b7f6d2..768ab5b006c 100644
--- a/dlls/ntdll/unixlib.h
+++ b/dlls/ntdll/unixlib.h
@@ -28,7 +28,7 @@ struct ldt_copy;
struct msghdr;
/* increment this when you change the function table */
-#define NTDLL_UNIXLIB_VERSION 37
+#define NTDLL_UNIXLIB_VERSION 38
-#define NTDLL_UNIXLIB_VERSION 40
+#define NTDLL_UNIXLIB_VERSION 41
struct unix_funcs
{
@@ -207,6 +207,7 @@ struct unix_funcs
@@ -212,6 +212,7 @@ struct unix_funcs
/* server functions */
unsigned int (CDECL *server_call)( void *req_ptr );
void (CDECL *server_send_fd)( int fd );