Commit 493b6549 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

remove -> utf8_unlink

parent 1a24f157
......@@ -682,7 +682,7 @@ static int SaveConfigFile( vlc_object_t *p_this, const char *psz_module_name,
fclose (file);
#ifdef WIN32
/* Windows cannot remove open files nor overwrite existing ones */
remove (permanent);
utf8_unlink (permanent);
rename (temporary, permanent);
vlc_mutex_unlock (&lock);
#endif
......
......@@ -608,7 +608,7 @@ void CacheSave( vlc_object_t *p_this, module_bank_t *p_bank )
rename (psz_tmpname, psz_filename); /* atomically replace old cache */
fclose (file);
#else
remove (psz_filename);
utf8_unlink (psz_filename);
fclose (file);
rename (psz_tmpname, psz_filename);
#endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment