Commit a593cb76 authored by Ben Noordhuis's avatar Ben Noordhuis
Browse files

src: don't use fopen() in require() fast path

Fix a regression that was introduced in commit 1bbf8d07 ("lib: speed up
require(), phase 2") where file paths with Unicode characters fail to
load on Windows.

Fixes: https://github.com/nodejs/node/issues/2236
PR-URL: https://github.com/nodejs/node/pull/2377


Reviewed-By: default avatarBert Belder <bertbelder@gmail.com>
parent 4c06515a
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