Bug #588

Offset parameter breaks IO.binread

Added by Dave Thomas almost 7 years ago. Updated over 4 years ago.

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

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 7 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