Handle ECONNRESET in FILE_GetNtStatus

Robert Shearman rob at codeweavers.com
Wed Aug 18 19:52:56 CDT 2004


Hi,

I think this is the correct mapping, but I'm not 100% sure.

Changelog:
Handle ECONNRESET in FILE_GetNtStatus.

-------------- next part --------------
Index: wine/dlls/ntdll/file.c
===================================================================
RCS file: /home/wine/wine/dlls/ntdll/file.c,v
retrieving revision 1.63
diff -u -p -r1.63 file.c
--- wine/dlls/ntdll/file.c	18 Aug 2004 20:57:30 -0000	1.63
+++ wine/dlls/ntdll/file.c	19 Aug 2004 00:47:41 -0000
@@ -308,6 +310,7 @@ NTSTATUS FILE_GetNtStatus(void)
 #endif
     case ENOTTY:
     case EOPNOTSUPP:return STATUS_NOT_SUPPORTED;
+    case ECONNRESET:return STATUS_PIPE_DISCONNECTED;
     case ENOEXEC:   /* ?? */
     case ESPIPE:    /* ?? */
     case EEXIST:    /* ?? */


More information about the wine-patches mailing list