diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-02-28 05:17:01 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-02-28 05:17:01 +0000 |
commit | 1daa624d56002b8b0412ccc65de460bec96c23c3 (patch) | |
tree | bc8d70ec24849e66b921063bd5d380c21e4a25a4 /test/ruby/test_file.rb | |
parent | 015a415ee3e721f42be6e29168aed4c0fcd8e18f (diff) |
file.c: get rid of useless conversion
* file.c (rb_file_s_stat): File.stat does not accept an IO
object as trying conversion to path name string first. skip
conversion to IO and try stat(2) only.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62606 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby/test_file.rb')
0 files changed, 0 insertions, 0 deletions