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

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

Backport changed from 2.1: DONTNEED, 2.2: DONTNEED, 2.3: DONTNEED to 2.1: DONTNEED, 2.2: DONTNEED, 2.3: REQUIRED

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

* 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: REQUIRED
----------------------------------------
'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:ruby-core-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>

In This Thread

Prev Next