Project

General

Profile

Actions

Bug #156

closed

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

Added by NoKarma (Arthur Schreiber) over 16 years ago. Updated over 13 years ago.

Status:
Closed
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
Actions #1

Updated by yugui (Yuki Sonoda) over 16 years ago

  • Status changed from Open to Closed

=begin
fixed by r17162.
=end

Actions

Also available in: Atom PDF

Like0
Like0