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 [EMAIL PROTECTED] http://bugzilla.ximian.com/show_bug.cgi?id=77108 --- shadow/77108 2005-12-28 07:24:42.000000000 -0500 +++ shadow/77108.tmp.24246 2005-12-28 07:24:43.000000000 -0500 @@ -0,0 +1,58 @@ +Bug#: 77108 +Product: Mono: Class Libraries +Version: 1.1 +OS: +OS Details: +Status: NEW +Resolution: +Severity: +Priority: Normal +Component: CORLIB +AssignedTo: [EMAIL PROTECTED] +ReportedBy: [EMAIL PROTECTED] +QAContact: [EMAIL PROTECTED] +TargetMilestone: --- +URL: +Cc: +Summary: TextReader.Read from System.Console.In is incorrectly blocking + +Description of Problem: + +TextReader.Read from System.Console.In is incorrectly blocking + +Steps to reproduce the problem: + +1. Compile this: + +class M { static void Main() { + char[] charbuf = new char[10]; + int nRead = System.Console.In.Read(charbuf,0,10); + System.Console.WriteLine("nRead = {0}\n",nRead); +} +} + + +2. Run on Windows using MS .NET and Mono and observe the blocking +behaviour of Mono + +Actual Results: + +C:\>"\Program Files\Mono-1.1.12.1\bin\mono.exe" bug.exe +abc +def +nRead = 10 + +Expected Results: + +C:\>bug +abc +nRead = 5 + + +How often does this happen? + +Always + +Additional Information: + +the read should be non-blocking _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
