Mercurial > geeqie.yaz
diff src/cache-loader.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 | 1646720364cf |
children | 8b89e3ff286b |
line wrap: on
line diff
--- a/src/cache-loader.c Sat Nov 15 19:13:43 2008 +0000 +++ b/src/cache-loader.c Sat Nov 15 20:01:25 2008 +0000 @@ -168,7 +168,7 @@ mode_t mode = 0755; base = cache_get_location(CACHE_TYPE_SIM, cl->fd->path, FALSE, &mode); - if (cache_ensure_dir_exists(base, mode)) + if (recursive_mkdir_if_not_exists(base, mode)) { g_free(cl->cd->path); cl->cd->path = cache_get_location(CACHE_TYPE_SIM, cl->fd->path, TRUE, NULL);