[ruby-cvs:61586] naruse:r54424 (ruby_2_3): merge revision(s) 53688, 53689, 53690, 53702: [Backport #11874]

naruse at ruby-lang.org naruse at ruby-lang.org
Wed Mar 30 02:17:50 JST 2016


naruse	2016-03-30 02:17:50 +0900 (Wed, 30 Mar 2016)

  New Revision: 54424

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

  Log:
    merge revision(s) 53688,53689,53690,53702: [Backport #11874]
    
    * win32/win32.c (fileattr_to_unixmode, rb_w32_reparse_symlink_p): volume
      mount point should be treated as directory, not symlink.
      [ruby-core:72483] [Bug #11874]
    
    * win32/win32.c (rb_w32_read_reparse_point): check the reparse point is
      a volume mount point or not.
    
    * win32/file.c (rb_readlink): follow above change (but this pass won't
      be used).
    
    * win32/file.c (rb_readlink): drop garbage after the substitute
      name, as rb_w32_read_reparse_point returns the expected buffer
      size but "\??\" prefix is dropped from the result.
    
    * win32/win32.c (w32_readlink): ditto, including NUL-terminator.

  Modified directories:
    branches/ruby_2_3/
  Modified files:
    branches/ruby_2_3/ChangeLog
    branches/ruby_2_3/test/ruby/test_file_exhaustive.rb
    branches/ruby_2_3/version.h
    branches/ruby_2_3/win32/file.c
    branches/ruby_2_3/win32/win32.c


More information about the ruby-cvs mailing list