2008-06-05 Atsushi Enomoto <atsushi@ximian.com>
authorAtsushi Eno <atsushieno@gmail.com>
Thu, 5 Jun 2008 13:30:51 +0000 (13:30 -0000)
committerAtsushi Eno <atsushieno@gmail.com>
Thu, 5 Jun 2008 13:30:51 +0000 (13:30 -0000)
* CSharpCodeCompiler.cs : in 2.0 profile, do not capture stdout (we
  didn't do that in 1.0 either). Fixed bug #379535.

svn path=/trunk/mcs/; revision=105026

mcs/class/System/Microsoft.CSharp/CSharpCodeCompiler.cs
mcs/class/System/Microsoft.CSharp/ChangeLog

index b05bb44bc1dc1c4df6453567ccf43c800ed5e6ba..7610637f76ed146e6f16d19f0d29ab1006b8ed40 100644 (file)
@@ -222,7 +222,6 @@ namespace Mono.CSharp
                        mcs.StartInfo.RedirectStandardOutput=true;
                        mcs.StartInfo.RedirectStandardError=true;
 #if NET_2_0
-                       mcs.OutputDataReceived += new DataReceivedEventHandler (McsStdoutDataReceived);
                        mcs.ErrorDataReceived += new DataReceivedEventHandler (McsStderrDataReceived);
 #endif
                        
@@ -302,13 +301,6 @@ namespace Mono.CSharp
                }
 
 #if NET_2_0
-               void McsStdoutDataReceived (object sender, DataReceivedEventArgs args)
-               {
-                       mcsOutMutex.WaitOne ();
-                       mcsOutput.Add (args.Data);
-                       mcsOutMutex.ReleaseMutex ();
-               }
-
                void McsStderrDataReceived (object sender, DataReceivedEventArgs args)
                {
                        mcsOutMutex.WaitOne ();
index c779ee7223fbfcff85a5a4746dd9bebf68ec32c4..4ec78253e77dd7c48baf6a489eaa0eff951e6c5c 100644 (file)
@@ -1,3 +1,8 @@
+2008-06-05  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * CSharpCodeCompiler.cs : in 2.0 profile, do not capture stdout (we
+         didn't do that in 1.0 either). Fixed bug #379535.
+
 2008-05-19  Martin Baulig  <martin@ximian.com>
 
        * CSharpCodeGenerator.cs: In the 2.0 profile, emit `#line hidden'