Project

General

Profile

Actions

Backport #2961

closed

Pathname bug in windows.

Added by guai (guai guai) about 14 years ago. Updated almost 5 years ago.

Status:
Closed
[ruby-core:28653]

Description

=begin
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
=end

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0