[Mono-bugs] [Bug 52621][Wis] Changed - WebClient stream and StreamReader.Read

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Tue, 18 May 2004 01:02:36 -0400 (EDT)


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 gonzalo@ximian.com.

http://bugzilla.ximian.com/show_bug.cgi?id=52621

--- shadow/52621	2004-01-06 20:38:51.000000000 -0500
+++ shadow/52621.tmp.18402	2004-05-18 01:02:36.000000000 -0400
@@ -1,13 +1,13 @@
 Bug#: 52621
-Product: Mono/Class Libraries
+Product: Mono: Class Libraries
 Version: unspecified
 OS: Red Hat 9.0
 OS Details: 
-Status: NEW   
-Resolution: 
+Status: RESOLVED   
+Resolution: NOTABUG
 Severity: Unknown
 Priority: Wishlist
 Component: System
 AssignedTo: gonzalo@ximian.com                            
 ReportedBy: ginga@kit.hi-ho.ne.jp               
 QAContact: mono-bugs@ximian.com
@@ -74,6 +74,18 @@
 Additional Information:
 
 In fact MS.NET 1.1 has the same bug (bug I think), so we might choose one 
 alternative not to fix this. However, it is helpful to fix existing Xml 
 and network stream problem. I have already written fix for them, but this 
 bug prevents me to commit the code.
+
+------- Additional Comments From gonzalo@ximian.com  2004-05-18 01:02 -------
+You're printing the -1 too. If the loop is like:
+		do {
+			prev = c;
+			c = sr.Read ();
+			if (c >= 0)
+				Console.Write ((char) c);
+		} while (c >= 0);
+
+it works fine.
+