Skip to content

Commit

Permalink
Revert "[Truffle] Windows: Make sure a loaded file only contains /."
Browse files Browse the repository at this point in the history
* This reverts commit a3311e2.
* Should be done much earlier.
  • Loading branch information
eregon committed Feb 18, 2015
1 parent a3311e2 commit 9e10dbb
Showing 1 changed file with 0 additions and 4 deletions.
Expand Up @@ -162,10 +162,6 @@ public void loadFile(String fileName, RubyNode currentNode) {
}

private void loadFileAbsolute(String fileName, RubyNode currentNode) {
if (isRunningOnWindows()) {
fileName.replace('\\', '/');
}

final byte[] bytes = FileUtils.readAllBytesInterruptedly(this, fileName);

// Assume UTF-8 for the moment
Expand Down

0 comments on commit 9e10dbb

Please sign in to comment.