Make all rename utf8 path aware
This commit is contained in:
parent
31caa7e056
commit
12a9237016
@ -295,9 +295,7 @@ namespace Online
|
|||||||
"Could not removed existing addons.xml file.");
|
"Could not removed existing addons.xml file.");
|
||||||
m_curl_code = CURLE_WRITE_ERROR;
|
m_curl_code = CURLE_WRITE_ERROR;
|
||||||
}
|
}
|
||||||
int ret = rename((m_filename+".part").c_str(),
|
int ret = FileUtils::renameU8Path(m_filename + ".part", m_filename);
|
||||||
m_filename.c_str() );
|
|
||||||
|
|
||||||
// In case of an error, set the status to indicate this
|
// In case of an error, set the status to indicate this
|
||||||
if (ret != 0)
|
if (ret != 0)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user