Project

General

Profile

Bug #156

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

Added by NoKarma (Arthur Schreiber) about 12 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Target version:
-
ruby -v:
[ruby-core:17245]

Description

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


Files

stringio_sysread.patch (390 Bytes) stringio_sysread.patch NoKarma (Arthur Schreiber), 06/14/2008 09:15 PM
#1

Updated by yugui (Yuki Sonoda) about 12 years ago

  • Status changed from Open to Closed

=begin
fixed by r17162.
=end

Also available in: Atom PDF