diff options
| author | Andrey <lopsin232@gmail.com> | 2026-11-24 17:21:01 +0300 |
|---|---|---|
| committer | Andrey <lopsin232@gmail.com> | 2026-11-24 17:21:01 +0300 |
| commit | b5dd9acbb6de86b17d19be3c3ae5e34601191341 (patch) | |
| tree | 1af552c0a7853d75fd535cca5c9db953e00327d9 /runtime/src/thread_stacks.cpp | |
| parent | d0da7dade8b688f2e0f7f23f4155d6cbb438809e (diff) | |
dds_png: restore write mode before unlink on replace failure in main (DDS-PNG-STAGE-CLEANUP)
When previewing/saving PNG in CLI main(), if os.replace fails after
shutil.copymode set the destination's permissions, resetting os.chmod to
0o600 ensures TemporaryDirectory cleanup does not fail with PermissionError
on Windows if the output was read-only.
agent: yes
AI-assisted: yes
Diffstat (limited to 'runtime/src/thread_stacks.cpp')
0 files changed, 0 insertions, 0 deletions