Bug #156 [ruby-core:17245]

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

Added by Arthur Schreiber 170 days ago. Updated 169 days ago.

Status :Closed Start :06/14/2008
Priority :Normal Due date :
Assigned to :- % Done :

0%

Category :-
Target version :-

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

06/16/2008 12:04 AM - Yuki Sonoda

  • Status changed from Open to Closed
fixed by r17162.

Also available in: Atom PDF