Commit 2dcef83b authored by Vladimir Kurchatkin's avatar Vladimir Kurchatkin
Browse files

fs: use `kMaxLength` from binding

This allows `graceful-fs` to evaluate `fs` source
without access to internals.

This is a temporary workaround that makes npm work.

See: https://github.com/isaacs/node-graceful-fs/issues/41
Fixes: https://github.com/nodejs/io.js/issues/1898
PR-URL: https://github.com/nodejs/io.js/pull/1903


Reviewed-By: default avatarBen Noordhuis <info@bnoordhuis.nl>
parent 81029c63
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