kernel32-Named_Pipe: Removed patch to fix ConnectNamedPort return value in overlapped mode.

This patch should not make a difference because wineserver already returns
STATUS_PIPE_CONNECTED instead of STATUS_SUCCESS.
This commit is contained in:
Sebastian Lackner 2016-03-13 20:22:36 +01:00
parent 8d7c66f500
commit 7c264ae20f
23 changed files with 20 additions and 49 deletions

View File

@ -1,25 +0,0 @@
From 68eb737ebb05ea27d51588c2f5c8fa5d6dce7cff Mon Sep 17 00:00:00 2001
From: Dan Kegel <dank@kegel.com>
Date: Sat, 26 Jul 2014 14:07:55 -0600
Subject: kernel32: ConnectNamedPort should return FALSE and set
ERROR_PIPE_CONNECTED on success in overlapped mode.
---
dlls/kernel32/sync.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/dlls/kernel32/sync.c b/dlls/kernel32/sync.c
index 8210624..ff0e234 100644
--- a/dlls/kernel32/sync.c
+++ b/dlls/kernel32/sync.c
@@ -1609,6 +1609,7 @@ BOOL WINAPI ConnectNamedPipe(HANDLE hPipe, LPOVERLAPPED overlapped)
overlapped ? (IO_STATUS_BLOCK *)overlapped : &status_block,
FSCTL_PIPE_LISTEN, NULL, 0, NULL, 0);
+ if (overlapped && status == STATUS_SUCCESS) status = STATUS_PIPE_CONNECTED;
if (status == STATUS_SUCCESS) return TRUE;
SetLastError( RtlNtStatusToDosError(status) );
return FALSE;
--
1.7.9.5

Some files were not shown because too many files have changed in this diff Show More