diff options
author | dec05eba <dec05eba@protonmail.com> | 2021-04-20 13:11:59 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2021-04-20 13:11:59 +0200 |
commit | c1db97f057e8f20aa26a2342da94eeff1d7a7725 (patch) | |
tree | b795e75ba14bb2b9cab0fbc6aad01cd76b892939 /src/FileAnalyzer.cpp | |
parent | 5465c09cd108e37720dbad139de98bdcf5dfe8bf (diff) |
Proper atomic rename? also do not generate mipmap for manga
Diffstat (limited to 'src/FileAnalyzer.cpp')
-rw-r--r-- | src/FileAnalyzer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/FileAnalyzer.cpp b/src/FileAnalyzer.cpp index 0059233..9f05919 100644 --- a/src/FileAnalyzer.cpp +++ b/src/FileAnalyzer.cpp @@ -135,7 +135,7 @@ namespace QuickMedia { } } - return rename(destination_path_tmp.data.c_str(), destination_path) == 0; + return rename_atomic(destination_path_tmp.data.c_str(), destination_path) == 0; } // TODO: Remove dependency on ffprobe |