Alexandre Julliard : ntdll: Use the local server_send_fd() function in the Unix library.

Alexandre Julliard julliard at winehq.org
Tue Jun 2 16:34:11 CDT 2020


Module: wine
Branch: master
Commit: 9fe61171e515e7c77720675ecbe69731219b549c
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=9fe61171e515e7c77720675ecbe69731219b549c

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Tue Jun  2 17:39:28 2020 +0200

ntdll: Use the local server_send_fd() function in the Unix library.

Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/ntdll/unix/server.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/dlls/ntdll/unix/server.c b/dlls/ntdll/unix/server.c
index 5843cde23f..17b23e58d2 100644
--- a/dlls/ntdll/unix/server.c
+++ b/dlls/ntdll/unix/server.c
@@ -1053,7 +1053,7 @@ NTSTATUS CDECL server_fd_to_handle( int fd, unsigned int access, unsigned int at
     NTSTATUS ret;
 
     *handle = 0;
-    wine_server_send_fd( fd );
+    server_send_fd( fd );
 
     SERVER_START_REQ( alloc_file_handle )
     {
@@ -1494,8 +1494,8 @@ size_t CDECL server_init_thread( void *entry_point, BOOL *suspend, unsigned int
     /* create the server->client communication pipes */
     if (server_pipe( reply_pipe ) == -1) server_protocol_perror( "pipe" );
     if (server_pipe( ntdll_get_thread_data()->wait_fd ) == -1) server_protocol_perror( "pipe" );
-    wine_server_send_fd( reply_pipe[1] );
-    wine_server_send_fd( ntdll_get_thread_data()->wait_fd[1] );
+    server_send_fd( reply_pipe[1] );
+    server_send_fd( ntdll_get_thread_data()->wait_fd[1] );
     ntdll_get_thread_data()->reply_fd = reply_pipe[0];
     close( reply_pipe[1] );
 




More information about the wine-cvs mailing list