mirror of
https://github.com/irssi/irssi.git
synced 2026-08-10 20:33:46 +02:00
Replace mkpath with g_mkdir_with_parents
This commit is contained in:
parent
1a6ec1b0b6
commit
bb190be0bf
6 changed files with 4 additions and 44 deletions
|
|
@ -114,7 +114,7 @@ int log_start_logging(LOG_REC *log)
|
|||
/* path may contain variables (%time, $vars),
|
||||
make sure the directory is created */
|
||||
dir = g_path_get_dirname(log->real_fname);
|
||||
mkpath(dir, log_dir_create_mode);
|
||||
g_mkdir_with_parents(dir, log_dir_create_mode);
|
||||
g_free(dir);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue