win, fs: fix realpath behavior on substed drives by bzoz · Pull Request #7559 · nodejs/node

added 2 commits

July 6, 2016 12:59
This is a partial revert of nodejs@b488b19
It restores old javascript implementation of realpath and realpathSync.
The names have been changed: added JS and not exported in fs module.
Before v6 on drives created with subst and network mapped drives
realpath used to return filename on the mapped drive. With v6 it now
returns filename on the original device or on the network share. This
restores the old behavior by using old javascript implementation when
path returned by new implementation is on a different device than the
original path.

Fixes: 7294

@bzoz bzoz changed the title Bartosz restore js realpath win, fs: fix realpath behavior on substed drives

Jul 6, 2016

@addaleax addaleax added the windows

Issues and PRs related to the Windows platform.

label

Jul 6, 2016

@Trott Trott added the wip

Issues and PRs that are still a work in progress.

label

Jul 6, 2016

@bzoz

@bzoz bzoz mentioned this pull request

Jun 13, 2018