<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"> 
 &nbsp; &nbsp; WCHAR lpTest[MAX_PATH];
 &nbsp; &nbsp; GetModuleFileNameW(NULL, lpTest, MAX_PATH);
</pre><pre class="diff" id="removed">- &nbsp; &nbsp;DPRINT1(&quot;BasepInitConsole for : %S\n&quot;, lpTest);
- &nbsp; &nbsp;DPRINT1(&quot;Our current console handles are: %lx, %lx, %lx %lx\n&quot;, 
- &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Parameters-&gt;ConsoleHandle, Parameters-&gt;StandardInput, 
- &nbsp; &nbsp;<span id="removedchars"> &nbsp; &nbsp; &nbsp; &nbsp;Parameters-&gt;StandardOutput, Parameters-&gt;StandardError</span>);
</pre><pre class="diff" id="added">+ &nbsp; &nbsp;<span id="addedchars">DPRINT(&quot;BasepInitConsole for : %S\n&quot;, lpTest</span>);
+ &nbsp; &nbsp;DPRINT(&quot;Our current console handles are: %lx, %lx, %lx %lx\n&quot;, 
+ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Parameters-&gt;ConsoleHandle, Parameters-&gt;StandardInput, 
+ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Parameters-&gt;StandardOutput, Parameters-&gt;StandardError);
</pre><pre class="diff" id="context"> 
 &nbsp; &nbsp; /* We have nothing to do if this isn't a console app... */
 &nbsp; &nbsp; if (RtlImageNtHeader(GetModuleHandle(NULL))-&gt;OptionalHeader.Subsystem !=
 &nbsp; &nbsp; &nbsp; &nbsp; IMAGE_SUBSYSTEM_WINDOWS_CUI)
 &nbsp; &nbsp; {
</pre><pre class="diff" id="removed">- &nbsp; &nbsp; &nbsp; &nbsp;DPRINT<span id="removedchars">1</span>(&quot;Image is not a console application\n&quot;);
</pre><pre class="diff" id="added">+ &nbsp; &nbsp; &nbsp; &nbsp;DPRINT(&quot;Image is not a console application\n&quot;);
</pre><pre class="diff" id="context"> &nbsp; &nbsp; &nbsp; &nbsp; Parameters-&gt;ConsoleHandle = NULL;
 &nbsp; &nbsp; &nbsp; &nbsp; return TRUE;
 &nbsp; &nbsp; }
@@ -115,14 +115,14 @@
</pre><pre class="diff" id="context"> &nbsp; &nbsp; if (Parameters-&gt;ConsoleHandle == HANDLE_DETACHED_PROCESS)
 &nbsp; &nbsp; {
 &nbsp; &nbsp; &nbsp; &nbsp; /* No console to create */
</pre><pre class="diff" id="removed">- &nbsp; &nbsp; &nbsp; &nbsp;DPRINT<span id="removedchars">1</span>(&quot;No console to create\n&quot;);
</pre><pre class="diff" id="added">+ &nbsp; &nbsp; &nbsp; &nbsp;DPRINT(&quot;No console to create\n&quot;);
</pre><pre class="diff" id="context"> &nbsp; &nbsp; &nbsp; &nbsp; Parameters-&gt;ConsoleHandle = NULL;
 &nbsp; &nbsp; &nbsp; &nbsp; Request.Data.AllocConsoleRequest.ConsoleNeeded = FALSE;
 &nbsp; &nbsp; }
 &nbsp; &nbsp; else if (Parameters-&gt;ConsoleHandle == HANDLE_CREATE_NEW_CONSOLE)
 &nbsp; &nbsp; {
 &nbsp; &nbsp; &nbsp; &nbsp; /* We'll get the real one soon */
</pre><pre class="diff" id="removed">- &nbsp; &nbsp; &nbsp; &nbsp;DPRINT<span id="removedchars">1</span>(&quot;Creating new console\n&quot;);
</pre><pre class="diff" id="added">+ &nbsp; &nbsp; &nbsp; &nbsp;DPRINT(&quot;Creating new console\n&quot;);
</pre><pre class="diff" id="context"> &nbsp; &nbsp; &nbsp; &nbsp; Parameters-&gt;ConsoleHandle = NULL;
 &nbsp; &nbsp; }
 &nbsp; &nbsp; else if (Parameters-&gt;ConsoleHandle == HANDLE_CREATE_NO_WINDOW)
@@ -133,7 +133,7 @@
</pre><pre class="diff" id="context"> &nbsp; &nbsp; }
 &nbsp; &nbsp; else
 &nbsp; &nbsp; {
</pre><pre class="diff" id="removed">- &nbsp; &nbsp; &nbsp; &nbsp;DPRINT<span id="removedchars">1</span>(&quot;Using existing console: %x\n&quot;, Parameters-&gt;ConsoleHandle);
</pre><pre class="diff" id="added">+ &nbsp; &nbsp; &nbsp; &nbsp;DPRINT(&quot;Using existing console: %x\n&quot;, Parameters-&gt;ConsoleHandle);
</pre><pre class="diff" id="context"> &nbsp; &nbsp; }
 
 &nbsp; &nbsp; /* Initialize Console Ctrl Handler */
@@ -183,7 +183,7 @@
</pre><pre class="diff" id="context"> &nbsp; &nbsp; &nbsp; &nbsp; }
 &nbsp; &nbsp; }
 
</pre><pre class="diff" id="removed">- &nbsp; &nbsp;DPRINT<span id="removedchars">1</span>(&quot;Console setup: %lx, %lx, %lx, %lx\n&quot;, 
</pre><pre class="diff" id="added">+ &nbsp; &nbsp;DPRINT(&quot;Console setup: %lx, %lx, %lx, %lx\n&quot;, 
</pre><pre class="diff" id="context"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Parameters-&gt;ConsoleHandle,
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Parameters-&gt;StandardInput,
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Parameters-&gt;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"> &nbsp; &nbsp; CSR_API_MESSAGE CsrRequest;
 &nbsp; &nbsp; NTSTATUS Status;
 &nbsp; &nbsp; 
</pre><pre class="diff" id="removed">- &nbsp; &nbsp;DPRINT<span id="removedchars">1</span>(&quot;BasepNotifyCsrOfCreation: Process: %lx, Flags %lx\n&quot;, 
</pre><pre class="diff" id="added">+ &nbsp; &nbsp;DPRINT(&quot;BasepNotifyCsrOfCreation: Process: %lx, Flags %lx\n&quot;, 
</pre><pre class="diff" id="context"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ProcessId, dwCreationFlags);
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
 &nbsp; &nbsp; /* Fill out the request */
@@ -308,13 +308,12 @@
</pre><pre class="diff" id="context"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;IN PRTL_USER_PROCESS_PARAMETERS PebParams,
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;IN BOOL InheritHandles)
 {
</pre><pre class="diff" id="removed">- &nbsp; &nbsp;DPRINT<span id="removedchars">1</span>(&quot;BasepCopyHandles %p %p, %d\n&quot;, Params, PebParams, InheritHandles);
</pre><pre class="diff" id="added">+ &nbsp; &nbsp;DPRINT(&quot;BasepCopyHandles %p %p, %d\n&quot;, Params, PebParams, InheritHandles);
</pre><pre class="diff" id="context"> 
 &nbsp; &nbsp; /* Copy the handle if we are inheriting or if it's a console handle */
 &nbsp; &nbsp; if (InheritHandles || IsConsoleHandle(PebParams-&gt;StandardInput))
 &nbsp; &nbsp; {
 &nbsp; &nbsp; &nbsp; &nbsp; Params-&gt;StandardInput = PebParams-&gt;StandardInput;
</pre><pre class="diff" id="removed">- &nbsp; &nbsp; &nbsp; &nbsp;DPRINT1(&quot;Standard Input: %x\n&quot;, Params-&gt;StandardInput);
</pre><pre class="diff" id="context"> &nbsp; &nbsp; }
 &nbsp; &nbsp; if (InheritHandles || IsConsoleHandle(PebParams-&gt;StandardOutput))
 &nbsp; &nbsp; {
@@ -352,7 +351,7 @@
</pre><pre class="diff" id="context"> &nbsp; &nbsp; UNICODE_STRING Desktop, Shell, Runtime, Title;
 &nbsp; &nbsp; PPEB OurPeb = NtCurrentPeb();
 &nbsp; &nbsp; 
</pre><pre class="diff" id="removed">- &nbsp; &nbsp;DPRINT<span id="removedchars">1</span>(&quot;BasepInitializeEnvironment\n&quot;);
</pre><pre class="diff" id="added">+ &nbsp; &nbsp;DPRINT(&quot;BasepInitializeEnvironment\n&quot;);
</pre><pre class="diff" id="context"> &nbsp; &nbsp; 
 &nbsp; &nbsp; /* Get the full path name */
 &nbsp; &nbsp; RetVal = GetFullPathNameW(ApplicationPathName,
@@ -481,7 +480,7 @@
</pre><pre class="diff" id="context"> &nbsp; &nbsp; /* Write the handles only if we have to */
 &nbsp; &nbsp; if (StartupInfo-&gt;dwFlags &amp; STARTF_USESTDHANDLES)
 &nbsp; &nbsp; {
</pre><pre class="diff" id="removed">- &nbsp; &nbsp; &nbsp; &nbsp;DPRINT<span id="removedchars">1</span>(&quot;Using Standard Handles\n&quot;);
</pre><pre class="diff" id="added">+ &nbsp; &nbsp; &nbsp; &nbsp;DPRINT(&quot;Using Standard Handles\n&quot;);
</pre><pre class="diff" id="context"> &nbsp; &nbsp; &nbsp; &nbsp; ProcessParameters-&gt;StandardInput = StartupInfo-&gt;hStdInput;
 &nbsp; &nbsp; &nbsp; &nbsp; ProcessParameters-&gt;StandardOutput = StartupInfo-&gt;hStdOutput;
 &nbsp; &nbsp; &nbsp; &nbsp; ProcessParameters-&gt;StandardError = StartupInfo-&gt;hStdError;
@@ -510,7 +509,7 @@
</pre><pre class="diff" id="context"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; (STARTF_USESTDHANDLES | STARTF_USEHOTKEY | STARTF_SHELLPRIVATE)))
 &nbsp; &nbsp; &nbsp; &nbsp; {
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; /* Use handles from PEB, if inheriting or they are console */ 
</pre><pre class="diff" id="removed">- &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;DPRINT<span id="removedchars">1</span>(&quot;Copying handles from parent\n&quot;);
</pre><pre class="diff" id="added">+ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;DPRINT(&quot;Copying handles from parent\n&quot;);
</pre><pre class="diff" id="context"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; BasepCopyHandles(ProcessParameters,
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;OurPeb-&gt;ProcessParameters,
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;InheritHandles);
</pre>
</div>

</body>
</html>