Author: ion
Date: Mon Feb 20 06:36:17 2012
New Revision: 55732
URL:
http://svn.reactos.org/svn/reactos?rev=55732&view=rev
Log:
[KERNEL32]: Add support for NO_DEBUG_INHERIT in CreateProcess. Fixes a winetest.
Modified:
trunk/reactos/dll/win32/kernel32/client/proc.c
Modified: trunk/reactos/dll/win32/kernel32/client/proc.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/kernel32/client/…
==============================================================================
--- trunk/reactos/dll/win32/kernel32/client/proc.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/kernel32/client/proc.c [iso-8859-1] Mon Feb 20 06:36:17 2012
@@ -3016,7 +3016,8 @@
/* Check if only this process will be debugged */
if (dwCreationFlags & DEBUG_ONLY_THIS_PROCESS)
{
- /* FIXME: Set process flag */
+ /* Set process flag */
+ hDebug = (HANDLE)((ULONG_PTR)hDebug | 0x1);
}
}