Commit aaec3fbb authored by npzacs's avatar npzacs
Browse files

Fix removing cache files in Windows

(non-ASCII paths)
parent 6d23f9f7
......@@ -525,7 +525,7 @@ int cache_remove(const char *name)
if (!file) {
return 0;
}
int result = !remove(file);
int result = !file_unlink(file);
if (!result) {
BD_DEBUG(DBG_FILE, "Error removing %s\n", file);
}
......
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