comparison src/main.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 11b93d0791db
children 0bea79d87065
comparison
equal deleted inserted replaced
1147:4220d5536ad9 1148:95860439070b
448 { 448 {
449 if (isdir(path)) return; 449 if (isdir(path)) return;
450 450
451 log_printf(_("Creating %s dir:%s\n"), GQ_APPNAME, path); 451 log_printf(_("Creating %s dir:%s\n"), GQ_APPNAME, path);
452 452
453 if (!mkdir_utf8(path, 0755)) 453 if (!recursive_mkdir_if_not_exists(path, 0755))
454 { 454 {
455 log_printf(_("Could not create dir:%s\n"), path); 455 log_printf(_("Could not create dir:%s\n"), path);
456 } 456 }
457 } 457 }
458 458