Replace mkpath with g_mkdir_with_parents

This commit is contained in:
LemonBoy 2016-02-13 13:12:29 +01:00
commit bb190be0bf
6 changed files with 4 additions and 44 deletions

View file

@ -150,7 +150,7 @@ void rawlog_save(RAWLOG_REC *rawlog, const char *fname)
int f;
dir = g_path_get_dirname(fname);
mkpath(dir, log_dir_create_mode);
g_mkdir_with_parents(dir, log_dir_create_mode);
g_free(dir);
path = convert_home(fname);