Bug #156

[PATCH] StringIO#sysread(0) raises a EOFError

Added by Arthur Schreiber over 3 years ago. Updated 9 months ago.

[ruby-core:17245]
Status:Closed Start date:06/14/2008
Priority:Normal Due date:
Assignee:- % Done:

0%

Category:-
Target version:-
ruby -v:

Description

$stdin.sysread(0) # => ""
StringIO.new("test").sysread # =>raises EOFError: end of file reached

stringio_sysread.patch (390 Bytes) Arthur Schreiber, 06/14/2008 09:15 pm

History

Updated by Yuki Sonoda over 3 years ago

  • Status changed from Open to Closed
fixed by r17162.

Also available in: Atom PDF