Files
node/doc/api
wbt 246227f4bc fs: fix default length parameter for fs.read
Currently, specifying an `offset` without a `length`
throws an `ERR_OUT_OF_RANGE` error.
This commit provides a more sensible default.
This change should only affect cases
where no length is specified and a nonzero offset is,
which are currently throwing errors.

PR-URL: https://github.com/nodejs/node/pull/40349
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
2022-02-19 18:22:46 +01:00
..
2022-02-10 13:23:49 -05:00
2022-02-19 18:14:09 +01:00
2022-02-05 08:36:48 -08:00
2022-02-05 08:36:48 -08:00
2022-02-03 06:39:01 +00:00
2022-02-05 08:36:48 -08:00
2022-02-10 13:23:49 -05:00
2022-02-17 14:59:41 +00:00
2022-02-11 08:52:24 +00:00
2021-09-21 18:40:04 -07:00
2022-02-17 14:59:41 +00:00
2022-02-16 13:58:03 +00:00
2022-02-05 08:36:48 -08:00
2022-02-17 14:59:41 +00:00
2022-02-17 14:59:41 +00:00