[Mono-bugs] [Bug 395090] New: TextReader.Peek has a different behaviour with runtime=v2 .0.5072
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Wed May 28 10:29:13 EDT 2008
https://bugzilla.novell.com/show_bug.cgi?id=395090
Summary: TextReader.Peek has a different behaviour with
runtime=v2.0.5072
Product: Mono: Class Libraries
Version: 1.9.0
Platform: x86
OS/Version: FreeBSD
Status: NEW
Severity: Normal
Priority: P5 - None
Component: System
AssignedTo: mono-bugs at lists.ximian.com
ReportedBy: laurentlb at gmail.com
QAContact: mono-bugs at lists.ximian.com
Found By: Development
TextReader.Peek has a different behaviour when I run the compiled software with
runtime=v2.0.5072 (look below). According to MSDN, "The current position of the
TextReader is not changed by this operation." So, the v2 runtime has a bug (it
shouldn't drop the characters).
$ cat test.cs
using System;
public class Test
{
public static void Main() {
Console.In.Peek();
Console.WriteLine(Console.ReadLine());
}
}
$ mcs test.cs
$ mono --runtime=v2.0.50727 test.exe
qwer # my input
asdf # my input
asdf # output
$ mono test.exe
qwer # my input
qwer # output
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
More information about the mono-bugs
mailing list