summaryrefslogtreecommitdiff
path: root/Source/Core/Common/SysConf.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Core/Common/SysConf.cpp')
-rw-r--r--Source/Core/Common/SysConf.cpp2
1 files changed, 1 insertions, 1 deletions
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");