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
|
|
@ -453,7 +453,7 @@ static void autolog_open(SERVER_REC *server, const char *server_tag,
|
|||
log_item_add(log, LOG_ITEM_TARGET, target, server_tag);
|
||||
|
||||
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);
|
||||
|
||||
log->temp = TRUE;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue