From: Dave Thomas Date: 2008-09-24T02:20:38+09:00 Subject: [ruby-core:18810] [Bug #588] Offset parameter breaks IO.binread Bug #588: Offset parameter breaks IO.binread http://redmine.ruby-lang.org/issues/show/588 Author: Dave Thomas Status: Open, Priority: Normal 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 `
' ---------------------------------------- http://redmine.ruby-lang.org