[ros-diffs] [dchapyshev] 41412: - Fix one "kernel32_winetest mailslot" test

dchapyshev at svn.reactos.org dchapyshev at svn.reactos.org
Sun Jun 14 19:44:23 CEST 2009


Author: dchapyshev
Date: Sun Jun 14 21:44:22 2009
New Revision: 41412

URL: http://svn.reactos.org/svn/reactos?rev=41412&view=rev
Log:
- Fix one "kernel32_winetest mailslot" test

Modified:
    trunk/reactos/dll/win32/kernel32/file/mailslot.c

Modified: trunk/reactos/dll/win32/kernel32/file/mailslot.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/kernel32/file/mailslot.c?rev=41412&r1=41411&r2=41412&view=diff
==============================================================================
--- trunk/reactos/dll/win32/kernel32/file/mailslot.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/kernel32/file/mailslot.c [iso-8859-1] Sun Jun 14 21:44:22 2009
@@ -109,6 +109,11 @@
 				 nMaxMessageSize,
 				 &DefaultTimeOut);
 
+   if (Status == STATUS_INVALID_DEVICE_REQUEST)
+   {
+       Status = STATUS_OBJECT_NAME_INVALID;
+   }
+
    RtlFreeHeap(RtlGetProcessHeap(),
                0,
                MailslotName.Buffer);



More information about the Ros-diffs mailing list