Make temporary directory safely when ~/.w3m is unwritable

This commit is contained in:
Tatsuya Kinoshita
2018-01-21 01:29:10 +09:00
parent b592dac63b
commit 18dcbadf27
6 changed files with 16 additions and 2 deletions

View File

@@ -210,6 +210,7 @@ typedef long clen_t;
#define HAVE_SRANDOM
#undef HAVE_GETPASSPHRASE
#define HAVE_CHDIR
#define HAVE_MKDTEMP
#define SETJMP(env) sigsetjmp(env,1)