Project

General

Profile

Actions

Bug #588

closed

Offset parameter breaks IO.binread

Added by pragdave (Dave Thomas) over 15 years ago. Updated almost 13 years ago.

Status:
Closed
Assignee:
-
Target version:
-
ruby -v:
Backport:
[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

Actions #1

Updated by matz (Yukihiro Matsumoto) over 15 years ago

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

=begin
Applied in changeset r19507.
=end

Actions

Also available in: Atom PDF

Like0
Like0