[Mono-bugs] [Bug 483950] New: Console.In.ReadLine doesn't deal with EOF

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Mar 10 11:50:51 EDT 2009


https://bugzilla.novell.com/show_bug.cgi?id=483950


           Summary: Console.In.ReadLine doesn't deal with EOF
    Classification: Mono
           Product: Mono: Class Libraries
           Version: unspecified
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: CORLIB
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: jbevain at novell.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---


On my system, EOF is Ctrl-D (checked with stty -a). When I do:

string s = Console.In.ReadLine ();

And that I type ^D plus enter, s contains ^D. I'd expect it to be null, as in
net on Windows, typing ^Z plus enter returns null.

-- 
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