mirror of
https://github.com/irssi/irssi.git
synced 2026-08-17 15:42:26 +02:00
Working autolog.
Signed-off-by: Edward Tomasz Napierala <trasz@FreeBSD.org>
This commit is contained in:
parent
241dd66ac1
commit
e777ae986d
5 changed files with 73 additions and 5 deletions
|
|
@ -167,7 +167,14 @@ void rawlog_save(RAWLOG_REC *rawlog, const char *fname)
|
|||
int f;
|
||||
|
||||
dir = g_path_get_dirname(fname);
|
||||
g_mkdir_with_parents(dir, log_dir_create_mode);
|
||||
#ifdef HAVE_CAPSICUM
|
||||
if (capsicum_enabled())
|
||||
capsicum_mkdir_with_parents(dir, log_dir_create_mode);
|
||||
else
|
||||
g_mkdir_with_parents(dir, log_dir_create_mode);
|
||||
#else
|
||||
g_mkdir_with_parents(dir, log_dir_create_mode);
|
||||
#endif
|
||||
g_free(dir);
|
||||
|
||||
path = convert_home(fname);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue