commit - f96c05da22900e8b9b12c875dcefbafe3d544071
commit + 8f395db32aa90e2b831f8ae1709e80d09f6e4cdc
blob - e1a219153a2ccf325458ccdba6f7394dbb5c4f88
blob + a9570863b63f2d1e33bfbe1439cefb3d9141c4fe
--- src/folder.c
+++ src/folder.c
if (!is_dir_exist(path))
make_dir_hier(path);
file = g_strconcat(path, G_DIR_SEPARATOR_S, CACHE_FILE, NULL);
- old_file = g_strconcat(path, G_DIR_SEPARATOR_S, OLD_CACHE_FILE, NULL);
-
- if (!is_file_exist(file) && is_file_exist(old_file))
- move_file(old_file, file, FALSE);
- g_free(old_file);
g_free(path);
return file;
if (!is_dir_exist(path))
make_dir_hier(path);
file = g_strconcat(path, G_DIR_SEPARATOR_S, MARK_FILE, NULL);
- old_file = g_strconcat(path, G_DIR_SEPARATOR_S, OLD_MARK_FILE, NULL);
-
- if (!is_file_exist(file) && is_file_exist(old_file))
- move_file(old_file, file, FALSE);
- g_free(old_file);
g_free(path);
return file;