Commit 226de653 authored by William Jon McCann's avatar William Jon McCann

Make directories with parents in case they don't exist

https://bugzilla.gnome.org/show_bug.cgi?id=646663
parent 9de1fae2
......@@ -1755,9 +1755,9 @@ open_append_handle (GError **err)
get_log_names (&logdir, &logfile);
g_mkdir (logdir, 0700); /* ignore failure, we'll catch failures
* that matter on open()
*/
g_mkdir_with_parents (logdir, 0700); /* ignore failure, we'll catch failures
* that matter on open()
*/
append_handle = g_fopen (logfile, "a");
......@@ -1832,9 +1832,9 @@ logfile_save (void)
get_log_names (&logdir, &logfile);
g_mkdir (logdir, 0700); /* ignore failure, we'll catch failures
* that matter on open()
*/
g_mkdir_with_parents (logdir, 0700); /* ignore failure, we'll catch failures
* that matter on open()
*/
saveme = g_string_new (NULL);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment