]> granicus.if.org Git - neomutt/commitdiff
create tmpdir
authorRichard Russon <rich@flatcap.org>
Sat, 7 Jan 2017 16:23:29 +0000 (16:23 +0000)
committerRichard Russon <rich@flatcap.org>
Mon, 23 Jan 2017 15:11:23 +0000 (15:11 +0000)
Call mutt_mkdir() to recursively create the directories we need.

init.c

diff --git a/init.c b/init.c
index f6e16fc3c82378e7df63e6e49b66d35ac35fc2b0..9e24806301dc8833ff444630c214bf6425c4d07c 100644 (file)
--- a/init.c
+++ b/init.c
@@ -3882,6 +3882,8 @@ void mutt_init (int skip_sys_rc, LIST *commands)
       mutt_exit(1);
   }
 
+  mutt_mkdir(Tempdir, S_IRWXU);
+
   mutt_read_histfile ();
 
 #ifdef USE_NOTMUCH