diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-09-05 09:37:55 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-09-05 09:37:55 +0000 |
commit | 6c2108e2acbf905833834f631597fc95a615ad15 (patch) | |
tree | 7eacb9cccb364c7feb62154c5ec2df1f5e714ce5 /test/fileutils/test_fileutils.rb | |
parent | 07e08245d3db1caab2cff2864510f99bf2a84ff9 (diff) | |
download | ruby-6c2108e2acbf905833834f631597fc95a615ad15.tar.gz |
* io.c (copy_stream_fallback_body): use read method unless readpartial
is available. [ruby-dev:36124]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19148 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/fileutils/test_fileutils.rb')
-rw-r--r-- | test/fileutils/test_fileutils.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/fileutils/test_fileutils.rb b/test/fileutils/test_fileutils.rb index a52eb50071..b4ddee0239 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) |