Actions
Bug #14640
open[win32] File.realpath treats a relative path with a drive letter as an absolute path.
Bug #14640:
[win32] File.realpath treats a relative path with a drive letter as an absolute path.
Description
When t exists in the current directory under the drive C:,
File.realpath("c:t") #=> No such file or directory @ realpath_rec - c:/t (Errno::ENOENT)
whereas File.expand_path returns Dir.pwd + "/t".
Updated by naruse (Yui NARUSE) almost 7 years ago
- Target version deleted (
2.6)
Updated by hsbt (Hiroshi SHIBATA) over 1 year ago
- Status changed from Open to Assigned
Actions