[ruby-cvs:69796] naruse:r62632 (ruby_2_5): merge revision(s) 62606, 62607: [Backport #14557]

naruse at ruby-lang.org naruse at ruby-lang.org
Fri Mar 2 17:25:51 JST 2018


naruse	2018-03-02 17:25:51 +0900 (Fri, 02 Mar 2018)

  New Revision: 62632

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=62632

  Log:
    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]

  Modified directories:
    branches/ruby_2_5/
  Modified files:
    branches/ruby_2_5/file.c
    branches/ruby_2_5/test/ruby/test_file.rb
    branches/ruby_2_5/version.h


More information about the ruby-cvs mailing list