Backport #2961

Pathname bug in windows.

Added by Alexey Gunchin almost 2 years ago. Updated 10 months ago.

[ruby-core:28653]
Status:Assigned Start date:03/15/2010
Priority:Normal Due date:
Assignee:Yuki Sonoda % Done:

0%

Category:core
Target version:-

Description

Comparing same folders in FS, defined a bit different way produces false

Example: (cwd is c:\alpha)

Pathname.new('c:\alpha').realpath
=> #<Pathname:c:\alpha>
Pathname.new('./').realpath
=> #<Pathname:C:/alpha>
Pathname.new('c:\alpha').realpath==Pathname.new('./').realpath
=> false

History

Updated by Yusuke Endoh almost 2 years ago

  • Category set to lib
  • Assignee set to Akira Tanaka
Hi, akr

What do you think about this ticket?

-- 
Yusuke Endoh <mame@tsg.ne.jp>

Updated by Nobuyoshi Nakada almost 2 years ago

  • Category set to core
  • Status changed from Open to Closed
Fixed at r26928 and r26929.

Updated by Nobuyoshi Nakada almost 2 years ago

  • Status changed from Closed to Assigned
  • Assignee changed from Akira Tanaka to Yuki Sonoda

Updated by Nobuyoshi Nakada almost 2 years ago

  • Category set to core

Also available in: Atom PDF