Mercurial > geeqie
diff src/cache_maint.c @ 1148:95860439070b
Replace cache_ensure_dir_exists() by new recursive_mkdir_if_not_exists().
author | zas_ |
---|---|
date | Sat, 15 Nov 2008 20:01:25 +0000 |
parents | 3a7af6a8cd5f |
children | 0bea79d87065 |
line wrap: on
line diff
--- a/src/cache_maint.c Sat Nov 15 19:13:43 2008 +0000 +++ b/src/cache_maint.c Sat Nov 15 20:01:25 2008 +0000 @@ -524,7 +524,7 @@ if (!src || !dest) return; base = cache_get_location(CACHE_TYPE_THUMB, dest, FALSE, &mode); - if (cache_ensure_dir_exists(base, mode)) + if (recursive_mkdir_if_not_exists(base, mode)) { gchar *buf; gchar *d; @@ -548,7 +548,7 @@ g_free(base); base = cache_get_location(CACHE_TYPE_METADATA, dest, FALSE, &mode); - if (cache_ensure_dir_exists(base, mode)) + if (recursive_mkdir_if_not_exists(base, mode)) { gchar *buf; gchar *d; @@ -603,7 +603,7 @@ if (!src_cache) return; dest_base = cache_get_location(CACHE_TYPE_METADATA, fd->change->dest, FALSE, &mode); - if (cache_ensure_dir_exists(dest_base, mode)) + if (recursive_mkdir_if_not_exists(dest_base, mode)) { gchar *path;