[ruby-cvs:66280] nobu:r59102 (trunk): pathname.rb: UNC root pathname needs a separator

nobu at ruby-lang.org nobu at ruby-lang.org
Fri Jun 16 23:44:01 JST 2017


nobu	2017-06-16 23:44:01 +0900 (Fri, 16 Jun 2017)

  New Revision: 59102

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

  Log:
    pathname.rb: UNC root pathname needs a separator
    
    * ext/pathname/lib/pathname.rb (Pathname#plus): UNC root pathname
      needs a separator.  File.basename returns "/" on UNC root, as
      well as sole drive letter, even if it does not end with a
      separator.  [ruby-core:80900] [Bug #13515]

  Modified files:
    trunk/ext/pathname/lib/pathname.rb
    trunk/test/pathname/test_pathname.rb


More information about the ruby-cvs mailing list