Project

General

Profile

« Previous | Next » 

Revision 579ffd94

Added by naruse (Yui NARUSE) over 7 years ago

merge revision(s) 62606,62607: [Backport #14557]

    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.

    file.c: realpath on special symlink

    * file.c (realpath_rec): fallback to symlink path when it is
      accessible but the link target is not actual entry on file
      systems.  [ruby-dev:50487] [Bug #14557]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_5@62632 b2dd03c8-39d4-4d8f-98ff-823fe69b080e