[PATCH 3/3] winemac: Ignore an additional expected error in the clipboard pipe communication code.

Ken Thomases ken at codeweavers.com
Fri Jan 13 13:36:22 CST 2017


Signed-off-by: Ken Thomases <ken at codeweavers.com>
---
 dlls/winemac.drv/clipboard.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/dlls/winemac.drv/clipboard.c b/dlls/winemac.drv/clipboard.c
index 49a3ed3..7115c3b 100644
--- a/dlls/winemac.drv/clipboard.c
+++ b/dlls/winemac.drv/clipboard.c
@@ -2141,7 +2141,8 @@ void CDECL macdrv_UpdateClipboard(void)
                 else
                 {
                     result = GetLastError();
-                    if (result != ERROR_BROKEN_PIPE && result != ERROR_OPERATION_ABORTED)
+                    if (result != ERROR_BROKEN_PIPE && result != ERROR_OPERATION_ABORTED &&
+                        result != ERROR_HANDLES_CLOSED)
                         WARN("failed to read from pipe: %d\n", result);
                 }
 
-- 
2.10.2




More information about the wine-patches mailing list