Actions
Bug #10858
closedFile.expand_path on Windows does not handle drive-current path if 2nd arg is relative
Bug #10858:
File.expand_path on Windows does not handle drive-current path if 2nd arg is relative
Status:
Closed
Assignee:
-
Target version:
-
ruby -v:
ruby 2.2.0p43 (2015-02-06 revision 49530) [i386-mswin32_120]
Description
On Windows, if the first argument to File.expand_path is a drive-current path, and the dir argument is relative, you get a bogus result:
Compare that with Ruby 1.8:
Actions