Skip to content

Commit

Permalink
Merge pull request #5851 from leoetlino/sysconf-fix
Browse files Browse the repository at this point in the history
SysConf: Fix writing a new SYSCONF
  • Loading branch information
leoetlino committed Jul 31, 2017
2 parents 279c80b + b5e7c41 commit ed33191
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/Core/Common/SysConf.cpp
Expand Up @@ -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");
Expand Down

0 comments on commit ed33191

Please sign in to comment.