<html>
<head>
<style>
<!--
body { background-color:#ffffff }
.file { border:1px solid #eeeeee; margin-top:1em; margin-bottom:1em }
.pathname { font-family:monospace; float:right }
.fileheader { margin-bottom:.5em }
.diff { margin:0 }
.tasklist { padding:4px; border:1px dashed #000000; margin-top:1em }
.tasklist ul { margin-top:0; margin-bottom:0 }
tr.alt { background-color:#eeeeee }
#added { background-color:#ddffdd }
#addedchars { background-color:#99ff99; font-weight:bolder }
tr.alt #added { background-color:#ccf7cc }
#removed { background-color:#ffdddd }
#removedchars { background-color:#ff9999; font-weight:bolder }
tr.alt #removed { background-color:#f7cccc }
#info { color:#888888 }
#context { background-color:#eeeeee }
td {padding-left:.3em; padding-right:.3em }
tr.head { border-bottom-width:1px; border-bottom-style:solid }
tr.head td { padding:0; padding-top:.2em }
.task { background-color:#ffff00 }
.comment { padding:4px; border:1px dashed #000000; background-color:#ffffdd }
.error { color:red }
hr { border-width:0px; height:2px; background:black }
-->
</style>
</head>
<body>
<pre class="comment">Silence debug messages</pre><pre class="diff" id="context">Modified: trunk/reactos/lib/kernel32/misc/dllmain.c
Modified: trunk/reactos/lib/kernel32/process/create.c
</pre><hr /><div class="file">
<div class="fileheader"><big><b>Modified: trunk/reactos/lib/kernel32/misc/dllmain.c</b></big></div>
<pre class="diff"><small id="info">--- trunk/reactos/lib/kernel32/misc/dllmain.c        2005-07-31 03:27:04 UTC (rev 16910)
+++ trunk/reactos/lib/kernel32/misc/dllmain.c        2005-07-31 05:43:10 UTC (rev 16911)
@@ -94,16 +94,16 @@
</small></pre><pre class="diff" id="context">
WCHAR lpTest[MAX_PATH];
GetModuleFileNameW(NULL, lpTest, MAX_PATH);
</pre><pre class="diff" id="removed">- DPRINT1("BasepInitConsole for : %S\n", lpTest);
- DPRINT1("Our current console handles are: %lx, %lx, %lx %lx\n",
- Parameters->ConsoleHandle, Parameters->StandardInput,
- <span id="removedchars"> Parameters->StandardOutput, Parameters->StandardError</span>);
</pre><pre class="diff" id="added">+ <span id="addedchars">DPRINT("BasepInitConsole for : %S\n", lpTest</span>);
+ DPRINT("Our current console handles are: %lx, %lx, %lx %lx\n",
+ Parameters->ConsoleHandle, Parameters->StandardInput,
+ Parameters->StandardOutput, Parameters->StandardError);
</pre><pre class="diff" id="context">
/* We have nothing to do if this isn't a console app... */
if (RtlImageNtHeader(GetModuleHandle(NULL))->OptionalHeader.Subsystem !=
IMAGE_SUBSYSTEM_WINDOWS_CUI)
{
</pre><pre class="diff" id="removed">- DPRINT<span id="removedchars">1</span>("Image is not a console application\n");
</pre><pre class="diff" id="added">+ DPRINT("Image is not a console application\n");
</pre><pre class="diff" id="context"> Parameters->ConsoleHandle = NULL;
return TRUE;
}
@@ -115,14 +115,14 @@
</pre><pre class="diff" id="context"> if (Parameters->ConsoleHandle == HANDLE_DETACHED_PROCESS)
{
/* No console to create */
</pre><pre class="diff" id="removed">- DPRINT<span id="removedchars">1</span>("No console to create\n");
</pre><pre class="diff" id="added">+ DPRINT("No console to create\n");
</pre><pre class="diff" id="context"> Parameters->ConsoleHandle = NULL;
Request.Data.AllocConsoleRequest.ConsoleNeeded = FALSE;
}
else if (Parameters->ConsoleHandle == HANDLE_CREATE_NEW_CONSOLE)
{
/* We'll get the real one soon */
</pre><pre class="diff" id="removed">- DPRINT<span id="removedchars">1</span>("Creating new console\n");
</pre><pre class="diff" id="added">+ DPRINT("Creating new console\n");
</pre><pre class="diff" id="context"> Parameters->ConsoleHandle = NULL;
}
else if (Parameters->ConsoleHandle == HANDLE_CREATE_NO_WINDOW)
@@ -133,7 +133,7 @@
</pre><pre class="diff" id="context"> }
else
{
</pre><pre class="diff" id="removed">- DPRINT<span id="removedchars">1</span>("Using existing console: %x\n", Parameters->ConsoleHandle);
</pre><pre class="diff" id="added">+ DPRINT("Using existing console: %x\n", Parameters->ConsoleHandle);
</pre><pre class="diff" id="context"> }
/* Initialize Console Ctrl Handler */
@@ -183,7 +183,7 @@
</pre><pre class="diff" id="context"> }
}
</pre><pre class="diff" id="removed">- DPRINT<span id="removedchars">1</span>("Console setup: %lx, %lx, %lx, %lx\n",
</pre><pre class="diff" id="added">+ DPRINT("Console setup: %lx, %lx, %lx, %lx\n",
</pre><pre class="diff" id="context"> Parameters->ConsoleHandle,
Parameters->StandardInput,
Parameters->StandardOutput,
</pre></div>
<hr /><div class="file">
<div class="fileheader"><big><b>Modified: trunk/reactos/lib/kernel32/process/create.c</b></big></div>
<pre class="diff"><small id="info">--- trunk/reactos/lib/kernel32/process/create.c        2005-07-31 03:27:04 UTC (rev 16910)
+++ trunk/reactos/lib/kernel32/process/create.c        2005-07-31 05:43:10 UTC (rev 16911)
@@ -86,7 +86,7 @@
</small></pre><pre class="diff" id="context"> CSR_API_MESSAGE CsrRequest;
NTSTATUS Status;
</pre><pre class="diff" id="removed">- DPRINT<span id="removedchars">1</span>("BasepNotifyCsrOfCreation: Process: %lx, Flags %lx\n",
</pre><pre class="diff" id="added">+ DPRINT("BasepNotifyCsrOfCreation: Process: %lx, Flags %lx\n",
</pre><pre class="diff" id="context"> ProcessId, dwCreationFlags);
/* Fill out the request */
@@ -308,13 +308,12 @@
</pre><pre class="diff" id="context"> IN PRTL_USER_PROCESS_PARAMETERS PebParams,
IN BOOL InheritHandles)
{
</pre><pre class="diff" id="removed">- DPRINT<span id="removedchars">1</span>("BasepCopyHandles %p %p, %d\n", Params, PebParams, InheritHandles);
</pre><pre class="diff" id="added">+ DPRINT("BasepCopyHandles %p %p, %d\n", Params, PebParams, InheritHandles);
</pre><pre class="diff" id="context">
/* Copy the handle if we are inheriting or if it's a console handle */
if (InheritHandles || IsConsoleHandle(PebParams->StandardInput))
{
Params->StandardInput = PebParams->StandardInput;
</pre><pre class="diff" id="removed">- DPRINT1("Standard Input: %x\n", Params->StandardInput);
</pre><pre class="diff" id="context"> }
if (InheritHandles || IsConsoleHandle(PebParams->StandardOutput))
{
@@ -352,7 +351,7 @@
</pre><pre class="diff" id="context"> UNICODE_STRING Desktop, Shell, Runtime, Title;
PPEB OurPeb = NtCurrentPeb();
</pre><pre class="diff" id="removed">- DPRINT<span id="removedchars">1</span>("BasepInitializeEnvironment\n");
</pre><pre class="diff" id="added">+ DPRINT("BasepInitializeEnvironment\n");
</pre><pre class="diff" id="context">
/* Get the full path name */
RetVal = GetFullPathNameW(ApplicationPathName,
@@ -481,7 +480,7 @@
</pre><pre class="diff" id="context"> /* Write the handles only if we have to */
if (StartupInfo->dwFlags & STARTF_USESTDHANDLES)
{
</pre><pre class="diff" id="removed">- DPRINT<span id="removedchars">1</span>("Using Standard Handles\n");
</pre><pre class="diff" id="added">+ DPRINT("Using Standard Handles\n");
</pre><pre class="diff" id="context"> ProcessParameters->StandardInput = StartupInfo->hStdInput;
ProcessParameters->StandardOutput = StartupInfo->hStdOutput;
ProcessParameters->StandardError = StartupInfo->hStdError;
@@ -510,7 +509,7 @@
</pre><pre class="diff" id="context"> (STARTF_USESTDHANDLES | STARTF_USEHOTKEY | STARTF_SHELLPRIVATE)))
{
/* Use handles from PEB, if inheriting or they are console */
</pre><pre class="diff" id="removed">- DPRINT<span id="removedchars">1</span>("Copying handles from parent\n");
</pre><pre class="diff" id="added">+ DPRINT("Copying handles from parent\n");
</pre><pre class="diff" id="context"> BasepCopyHandles(ProcessParameters,
OurPeb->ProcessParameters,
InheritHandles);
</pre>
</div>
</body>
</html>