[Xfce4-commits] <midori:master> Ensure temporary folder before viewing source
Christian Dywan
noreply at xfce.org
Sat Sep 1 02:12:02 CEST 2012
Updating branch refs/heads/master
to b955713b4e343efe4fba8617de46366313b3ae5e (commit)
from aa5d387cc73f9f4a7662c1e0a5990eedfb02663c (commit)
commit b955713b4e343efe4fba8617de46366313b3ae5e
Author: Christian Dywan <christian at twotoasts.de>
Date: Fri Aug 31 21:56:08 2012 +0200
Ensure temporary folder before viewing source
midori/midori-view.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/midori/midori-view.c b/midori/midori-view.c
index 893d0b3..190d273 100644
--- a/midori/midori-view.c
+++ b/midori/midori-view.c
@@ -5673,6 +5673,7 @@ midori_view_save_source (MidoriView* view,
unique_filename = g_strdup_printf ("%s/%uXXXXXX%s", midori_paths_get_tmp_dir (),
g_str_hash (uri), midori_view_fallback_extension (view, extension));
g_free (extension);
+ katze_mkdir_with_parents (midori_paths_get_tmp_dir (), 0700);
fd = g_mkstemp (unique_filename);
}
else
More information about the Xfce4-commits
mailing list