GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||||||||||||||
GeezerVison is showing github.com — fs: fix writeFile[Sync] for non-seekable files by mildsunrise · Pull Request #32006 · nodejs/node Conversation
|
|
This variant is the one that does change behaviour in the custom-FD use case, right? I feel like 99.9 % of people wouldn’t be affected, but maybe we could still keep that for a separate PR? |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Nope, that behaviour change was already done in #23433 / #23709 (you voted for that option), i.e. the current code never does positioned writes on FDs: Lines 1289 to 1293 in 3d894d0
So this is a patch/minor change (unless I'm missing something) |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Right, thanks for reminding me :)
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
No prob! It was more than a year ago, I'd have forgotten too 😹 |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
CI: https://ci.nodejs.org/job/node-test-pull-request/29452/ (:white_check_mark:) |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Codecov Report
@@ Coverage Diff @@ ## master #32006 +/- ## ======================================= Coverage 96.16% 96.16% ======================================= Files 196 196 Lines 64918 64918 ======================================= Hits 62429 62429 Misses 2489 2489 Continue to review full report at Codecov.
|
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Completely disables the use of positioned writes at writeFile and writeFileSync, which allows it to work with non-seekable files. Fixes: #31926 PR-URL: #32006 Reviewed-By: Anna Henningsen <[email protected]>
|
Landed in f69de13 🎉 |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
This does not land cleanly on v13.x. Should it be backported? |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
@MylesBorins Wrong label? And, yes, it should be backported. 👍 |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Completely disables the use of positioned writes at writeFile and writeFileSync, which allows it to work with non-seekable files. Fixes: nodejs#31926 PR-URL: nodejs#32006 Reviewed-By: Anna Henningsen <[email protected]>
Completely disables the use of positioned writes at writeFile and writeFileSync, which allows it to work with non-seekable files. Fixes: #31926 Backport-PR-URL: #32172 PR-URL: #32006 Reviewed-By: Anna Henningsen <[email protected]>
Completely disables the use of positioned writes at writeFile and writeFileSync, which allows it to work with non-seekable files. Fixes: #31926 Backport-PR-URL: #32172 PR-URL: #32006 Reviewed-By: Anna Henningsen <[email protected]>
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.