diff options
| author | Andrey <lopsin232@gmail.com> | 2026-11-24 17:22:00 +0300 |
|---|---|---|
| committer | Andrey <lopsin232@gmail.com> | 2026-11-24 17:22:00 +0300 |
| commit | 2cb6ed88211623460ceab5b3d9cf819d1816fb26 (patch) | |
| tree | 2e232737ac42693c89fe02c79e9520c3f4e134aa /runtime/src/xma2_decoder.cpp | |
| parent | d0da7dade8b688f2e0f7f23f4155d6cbb438809e (diff) | |
world_names: restore write mode before unlink on replace failure and publish mode (WORLD-NAMES-STAGE-CLEANUP)
When writing dictionary JSON atomically in _write_json, apply published_mode
to the staged file and reset os.chmod to 0o600 before exiting TemporaryDirectory
if os.replace fails, ensuring cleanup does not fail with PermissionError on
Windows when replacing a read-only file.
agent: yes
AI-assisted: yes
Diffstat (limited to 'runtime/src/xma2_decoder.cpp')
0 files changed, 0 insertions, 0 deletions