Unverified Commit 01081485 authored by Alba Mendez's avatar Alba Mendez Committed by Michaël Zasso
Browse files

fs: fix writeFile[Sync] for non-seekable files

Completely disables the use of positioned writes at
writeFile and writeFileSync, which allows it to work
with non-seekable files.

Fixes: https://github.com/nodejs/node/issues/31926

Backport-PR-URL: https://github.com/nodejs/node/pull/32172
PR-URL: https://github.com/nodejs/node/pull/32006


Reviewed-By: default avatarAnna Henningsen <anna@addaleax.net>
parent 8d1eeb1a
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment