fs: fix promises reads with pos > 4GB
This commit fixes fs.promises
based reads with a position greater than 4GB. This ports the changes from https://github.com/nodejs/node/pull/21003 to the fs.promises
module.
Refs: https://github.com/nodejs/node/pull/21003 Fixes: https://github.com/nodejs/node/issues/21121
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
tests and/or benchmarks are included -
commit message follows commit guidelines