Opened 3 days ago

Last modified 3 days ago

#15392 new defect

BACKENDS: FS: Make file writing atomic commit breaks saving changes to files in ScummVM Windows Roaming folder

Reported by: necros2k7 Owned by:
Priority: blocker Component: Port: Win64
Version: Keywords: win64, windows, backend, fs
Cc: Game:

Description (last modified by necros2k7)

WARNING: Couldn't save file C:\Users\PC\AppData\Roaming\ScummVM\scummvm.ini!
win11 24h2
bug present from 8821 daily build

Change History (6)

comment:1 by necros2k7, 3 days ago

Summary: BACKENDS: FS: Make file writing atomic - breaks saving changes to scummvm.iniBACKENDS: FS: Make file writing atomic commit breaks saving changes to scummvm.ini

comment:2 by necros2k7, 3 days ago

Description: modified (diff)

comment:3 by necros2k7, 3 days ago

Summary: BACKENDS: FS: Make file writing atomic commit breaks saving changes to scummvm.iniBACKENDS: FS: Make file writing atomic commit breaks saving changes to files in Windows Roaming folder

comment:4 by sluicebox, 3 days ago

Priority: normalblocker

comment:5 by Le Philousophe <lephilousophe@…>, 3 days ago

In 0c60d296:

Revert "BACKENDS: FS: Make file writing atomic"

This reverts commit 99dc7641a998cc26fa2aa6eaf0c55f22f4722e33.
This causes bug #15392, a build failure on Dreamcast and changes too
much the semantics.
A better approach will need to be found, especially for streaming files
like logs.

comment:6 by necros2k7, 3 days ago

Summary: BACKENDS: FS: Make file writing atomic commit breaks saving changes to files in Windows Roaming folderBACKENDS: FS: Make file writing atomic commit breaks saving changes to files in ScummVM Windows Roaming folder
Note: See TracTickets for help on using tickets.