[Mono-bugs] [Bug 81729][Nor] Changed - [PATCH] Console.Read(Line) doesn't block for winexes
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Fri May 25 16:23:22 EDT 2007
Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.
Changed by robertj at gmx.net.
http://bugzilla.ximian.com/show_bug.cgi?id=81729
--- shadow/81729 2007-05-25 16:12:10.000000000 -0400
+++ shadow/81729.tmp.432 2007-05-25 16:23:22.000000000 -0400
@@ -1,23 +1,22 @@
Bug#: 81729
-Product: Mono: Class Libraries
-Version: 1.0
+Product: Mono: Runtime
+Version: 1.2
OS: other
OS Details:
Status: NEW
Resolution:
Severity: Unknown
Priority: Normal
-Component: CORLIB
-AssignedTo: mono-bugs at ximian.com
+Component: io-layer
+AssignedTo: dick at ximian.com
ReportedBy: rolfkvinge at ya.com
QAContact: mono-bugs at ximian.com
TargetMilestone: ---
URL:
-Cc:
-Summary: Console.Read(Line) doesn't block for winexe's
+Summary: [PATCH] Console.Read(Line) doesn't block for winexes
Repro:
using System;
using System.Windows.Forms;
@@ -87,6 +86,14 @@
------- Additional Comments From robertj at gmx.net 2007-05-25 16:12 -------
Created an attachment (id=19322)
class/corlib/System/Console.cs.diff
+
+------- Additional Comments From robertj at gmx.net 2007-05-25 16:23 -------
+Dick, are you okay with these patches?
+
+The optimal fix would be to implement this in WAPI's GetStdHandle,
+but WAPI doesn't have access to the PE header. Hence I decided
+to close STDIN and handle this locally in Console.cs.
+
More information about the mono-bugs
mailing list