Files
node/test/parallel
Zach Bjornson 8886b63cf6 fs: fix error when writing buffers > INT32_MAX
This reverts c380ee6785.
uv_fs_write returns an int, so it is not possible to ask
it to write more than INT32_MAX.

Instead, validate 'length' is an int32 in JS to avoid
the assertion failure.

PR-URL: https://github.com/nodejs/node/pull/38546
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Darshan Sen <raisinten@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
2021-05-10 15:04:37 -07:00
..
2021-05-04 20:04:58 -07:00
2020-10-17 00:48:26 +02:00
2020-10-17 00:48:26 +02:00
2021-04-24 16:34:58 +02:00
2020-10-17 00:48:26 +02:00
2020-10-17 00:48:26 +02:00
2020-10-17 00:48:26 +02:00
2021-05-06 10:39:23 -07:00
2021-05-06 10:39:23 -07:00
2020-10-17 00:48:26 +02:00
2020-10-17 00:48:26 +02:00
2020-10-17 00:48:26 +02:00
2020-10-17 00:48:26 +02:00
2020-12-29 15:49:09 +00:00
2020-10-17 00:48:26 +02:00
2020-06-30 22:36:50 +02:00
2020-10-17 00:48:26 +02:00