Commit b33879d9 authored by Owen Smith's avatar Owen Smith Committed by Roman Reiss
Browse files

path: fix win32 relative() when "to" is a prefix

when the basename of "to" was a prefix of the basename of "from" win32
relative() would miss including it in the result

Fixes: https://github.com/nodejs/node/issues/5447
PR-URL: https://github.com/nodejs/node/pull/5456


Reviewed-By: default avatarBrian White <mscdex@mscdex.net>
Reviewed-By: default avatarRoman Reiss <me@silverwind.io>
parent 8b16ba3b
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment