Bug #156

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

Added by NoKarma (Arthur Schreiber) almost 4 years ago. Updated about 1 year 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) NoKarma (Arthur Schreiber), 06/14/2008 09:15 pm

History

Updated by yugui (Yuki Sonoda) almost 4 years ago

  • Status changed from Open to Closed
fixed by r17162.

Also available in: Atom PDF