Permalink
Please
sign in to comment.
Browse files
fs: don't limit ftruncate() length to 32 bits
The length used by ftruncate() is 64 bits in the binding layer. This commit removes the 32 bit restriction in the JS layer. Backport-PR-URL: #21171 PR-URL: #20851 Fixes: #20844 Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Backport-PR-URL: #21171 Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
- Loading branch information...
Showing
with
5 additions
and 13 deletions.
- +2 −7 lib/fs.js
- +2 −2 lib/internal/fs/promises.js
- +1 −4 test/parallel/test-fs-truncate.js
0 comments on commit
fc0b361