Project

General

Profile

Bug #588

Offset parameter breaks IO.binread

Added by Dave Thomas almost 8 years ago. Updated about 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
[ruby-core:18810]

Description

=begin
dave[RUBY3/Book 12:17:17*] ruby -v -e 'IO.binread("/etc/passwd", 10, 10)'
ruby 1.9.0 (2008-09-23 revision 15427) [i386-darwin9.5.0]
-e:1:in binread': can't convert Fixnum into String (TypeError)
from -e:1:in
'
=end

History

#1 Updated by Yukihiro Matsumoto almost 8 years ago

  • Status changed from Open to Closed
  • % Done changed from 0 to 100

=begin
Applied in changeset r19507.
=end

Also available in: Atom PDF