https://bugs.ruby-lang.org/https://bugs.ruby-lang.org/favicon.ico?17113305112018-03-03T00:13:58ZRuby Issue Tracking SystemRuby master - Feature #14570: Make File.expand_path/real_path casing consistent on Windowshttps://bugs.ruby-lang.org/issues/14570?journal_id=707572018-03-03T00:13:58Zgraywolf (Gray Wolf)
<ul></ul><p>If the behaviour is adjusted to reflect the filesystem, it would be nice to do the same for <code>__FILE__</code> (and I assume also <code>__dir__</code>). At the moment <code>__FILE__</code> doesn't necessarily match file system casing. Again, same as in the post above, since windows are case insensitive it's not technically a bug, but if <code>File.realpath</code> (<code>expand_path</code>) are changed to reflect real casing, <code>__FILE__</code> should probably also be changed.</p> Ruby master - Feature #14570: Make File.expand_path/real_path casing consistent on Windowshttps://bugs.ruby-lang.org/issues/14570?journal_id=925722021-06-17T16:22:06Zjeremyevans0 (Jeremy Evans)merch-redmine@jeremyevans.net
<ul><li><strong>Tracker</strong> changed from <i>Bug</i> to <i>Feature</i></li><li><strong>Subject</strong> changed from <i>Wired behavior of File.expand_path() on Windows</i> to <i>Make File.expand_path/real_path casing consistent on Windows</i></li><li><strong>ruby -v</strong> deleted (<del><i>ruby 2.6.0dev (2018-02-22 trunk 62518) [x64-mingw32]</i></del>)</li><li><strong>Backport</strong> deleted (<del><i>2.3: UNKNOWN, 2.4: UNKNOWN, 2.5: UNKNOWN</i></del>)</li></ul>