From bfe9646e038f02800828f5b2eef3e1ebef3e05a7 Mon Sep 17 00:00:00 2001 From: nobu Date: Fri, 5 Sep 2008 09:37:55 +0000 Subject: * io.c (copy_stream_fallback_body): use read method unless readpartial is available. [ruby-dev:36124] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@19148 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/fileutils/test_fileutils.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/fileutils') diff --git a/test/fileutils/test_fileutils.rb b/test/fileutils/test_fileutils.rb index a52eb5007..b4ddee023 100644 --- a/test/fileutils/test_fileutils.rb +++ b/test/fileutils/test_fileutils.rb @@ -977,8 +977,8 @@ end @f = f end - def read(n) - @f.read(n) + def read(*args) + @f.read(*args) end def write(str) -- cgit