[ruby-core:74704] [Ruby trunk Bug#11874] File.realpath fail on volume mount point directory

From: usa@...
Date: 2016-03-29 15:55:10 UTC
List: ruby-core #74704
Issue #11874 has been updated by Usaku NAKAMURA.

Backport changed from 2.0.0: UNKNOWN, 2.1: UNKNOWN, 2.2: UNKNOWN, 2.3: UNKNOWN to 2.1: DONTNEED, 2.2: DONTNEED, 2.3: DONTNEED

----------------------------------------
Bug #11874: File.realpath fail on volume mount point directory
https://bugs.ruby-lang.org/issues/11874#change-57834

* Author: Am I Who
* Status: Closed
* Priority: Normal
* Assignee: Nobuyoshi Nakada
* ruby -v: ruby 2.3.0p0 (2015-12-25 revision 53290) [x64-mingw32]
* Backport: 2.1: DONTNEED, 2.2: DONTNEED, 2.3: DONTNEED
----------------------------------------
'C:\AAA' is a volume mount point.

When run "File.realpath 'C:\AAA'" it reports:
-e:1:in `realpath': No such file or directory @ realpath_rec - C:/Volume{b0513fa8-eb82-4aa7-92f4-bafb0d0d9220} (Errno::ENOENT)
        from -e:1:in `<main>'

ruby 2.3.0 adds HAVE_READLINK for windows then the bug appears



-- 
https://bugs.ruby-lang.org/

Unsubscribe: <mailto:[email protected]?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>

In This Thread

Prev Next