diff --git a/Source/Core/Common/SysConf.cpp b/Source/Core/Common/SysConf.cpp index 422bbb3f2e..2f86379462 100644 --- a/Source/Core/Common/SysConf.cpp +++ b/Source/Core/Common/SysConf.cpp @@ -197,7 +197,7 @@ bool SysConf::Save() const std::copy(footer.cbegin(), footer.cend(), buffer.end() - footer.size()); // Write the new data. - const std::string temp_file = File::GetTempFilenameForAtomicWrite(m_file_name); + const std::string temp_file = m_file_name + ".tmp"; File::CreateFullPath(temp_file); { File::IOFile file(temp_file, "wb");