fs: accept non-32-bit length in writeBuffer
Since `length` is `size_t`, it can accept 64-bit integers too. Refs: https://man7.org/linux/man-pages/man2/write.2.html Fixes: https://github.com/nodejs/node/issues/36643 PR-URL: https://github.com/nodejs/node/pull/36667 Reviewed-By:Anna Henningsen <anna@addaleax.net> Reviewed-By:
Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By:
Rich Trott <rtrott@gmail.com> Reviewed-By:
Luigi Pinca <luigipinca@gmail.com> Reviewed-By:
Yash Ladha <yash@yashladha.in> Reviewed-By:
Zeyu Yang <himself65@outlook.com>
parent
1b7ac0c9
Please register or sign in to comment