Uh oh!
There was an error while loading. Please reload this page.
Commit 1c4f4cc
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: #31926
Backport-PR-URL: #32172
PR-URL: #32006
Reviewed-By: Anna Henningsen <anna@addaleax.net>1 parent 1e05ddf commit 1c4f4cc
1 file changed
Lines changed: 5 additions & 13 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1240 | 1240 | | |
1241 | 1241 | | |
1242 | 1242 | | |
1243 | | - | |
| 1243 | + | |
1244 | 1244 | | |
1245 | | - | |
| 1245 | + | |
1246 | 1246 | | |
1247 | 1247 | | |
1248 | 1248 | | |
| |||
1260 | 1260 | | |
1261 | 1261 | | |
1262 | 1262 | | |
1263 | | - | |
1264 | | - | |
1265 | | - | |
1266 | | - | |
| 1263 | + | |
1267 | 1264 | | |
1268 | 1265 | | |
1269 | 1266 | | |
| |||
1289 | 1286 | | |
1290 | 1287 | | |
1291 | 1288 | | |
1292 | | - | |
1293 | 1289 | | |
1294 | | - | |
| 1290 | + | |
1295 | 1291 | | |
1296 | 1292 | | |
1297 | 1293 | | |
| |||
1307 | 1303 | | |
1308 | 1304 | | |
1309 | 1305 | | |
1310 | | - | |
1311 | 1306 | | |
1312 | 1307 | | |
1313 | | - | |
| 1308 | + | |
1314 | 1309 | | |
1315 | 1310 | | |
1316 | | - | |
1317 | | - | |
1318 | | - | |
1319 | 1311 | | |
1320 | 1312 | | |
1321 | 1313 | | |
| |||
0 commit comments