[Mono-bugs] [Bug 496905] Using Peek() after a short Read() returns -1 instead of trying to read more.

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sat Apr 25 14:58:25 EDT 2009


http://bugzilla.novell.com/show_bug.cgi?id=496905

User miguel at novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=496905#c13





--- Comment #13 from Miguel de Icaza <miguel at novell.com>  2009-04-25 12:58:22 MDT ---
I googled for StreamReader Peek Blocking, and it turns out that
StreamReader.Peek() is supposed to block if there is no data available.  

Bummer!

http://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=96484

Gonzalo, so it seems like both your patches are OK (the one here and the one in
TermInfoDriver, can you apply?

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list