Author: gschneider
Date: Sat Dec 12 13:57:46 2009
New Revision: 44544
URL: http://svn.reactos.org/svn/reactos?rev=44544&view=rev
Log:
[advapi32] Print the used name when failing to open a control pipe
Modified:
trunk/reactos/dll/win32/advapi32/service/sctrl.c
Modified: trunk/reactos/dll/win32/advapi32/service/sctrl.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/advapi32/service…
==============================================================================
--- trunk/reactos/dll/win32/advapi32/service/sctrl.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/advapi32/service/sctrl.c [iso-8859-1] Sat Dec 12 13:57:46 2009
@@ -237,7 +237,7 @@
NULL);
if (*hPipe == INVALID_HANDLE_VALUE)
{
- ERR("CreateFileW() failed (Error %lu)\n", GetLastError());
+ ERR("CreateFileW() failed for pipe %S (Error %lu)\n", NtControlPipeName, GetLastError());
return ERROR_FAILED_SERVICE_CONTROLLER_CONNECT;
}
Author: gschneider
Date: Sat Dec 12 13:32:09 2009
New Revision: 44543
URL: http://svn.reactos.org/svn/reactos?rev=44543&view=rev
Log:
[ntoskrnl]
- The field ZeroInit should be initialized to zero - do that by assigning the message type directly
- Fixes the hanging ntdll port winetest (it didn't get a CLIENT_DIED notification because the call to LpcRequestPort failed)
Modified:
trunk/reactos/ntoskrnl/ps/kill.c
Modified: trunk/reactos/ntoskrnl/ps/kill.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/ps/kill.c?rev=445…
==============================================================================
--- trunk/reactos/ntoskrnl/ps/kill.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/ps/kill.c [iso-8859-1] Sat Dec 12 13:32:09 2009
@@ -596,7 +596,7 @@
if (TerminationPort)
{
/* Setup the message header */
- TerminationMsg.h.u2.s2.Type = LPC_CLIENT_DIED;
+ TerminationMsg.h.u2.ZeroInit = LPC_CLIENT_DIED;
TerminationMsg.h.u1.s1.TotalLength = sizeof(TerminationMsg);
TerminationMsg.h.u1.s1.DataLength = sizeof(TerminationMsg) -
sizeof(PORT_MESSAGE);