aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcus Brinkmann <[email protected]>2010-12-17 02:05:14 +0000
committerMarcus Brinkmann <[email protected]>2010-12-17 02:05:14 +0000
commitc07984509a7efc16f28ef8dd9286ebd80f51088e (patch)
tree1378a8a5af66b21dc47dffdabbd95b7b4ae43e0d
parentTweaks for gpgconf. (diff)
downloadgnupg-c07984509a7efc16f28ef8dd9286ebd80f51088e.tar.gz
gnupg-c07984509a7efc16f28ef8dd9286ebd80f51088e.zip
2010-12-17 Marcus Brinkmann <[email protected]>
* homedir.c (gnupg_cachedir): Create /temp subdirectories.
-rw-r--r--common/ChangeLog4
-rw-r--r--common/homedir.c2
2 files changed, 6 insertions, 0 deletions
diff --git a/common/ChangeLog b/common/ChangeLog
index 5b4f1074c..92f23c28f 100644
--- a/common/ChangeLog
+++ b/common/ChangeLog
@@ -1,3 +1,7 @@
+2010-12-17 Marcus Brinkmann <[email protected]>
+
+ * homedir.c (gnupg_cachedir): Create /temp subdirectories.
+
2010-12-02 Werner Koch <[email protected]>
* miscellaneous.c (gnupg_cipher_algo_name): New. Replace all
diff --git a/common/homedir.c b/common/homedir.c
index 69a18d76d..a6364f8b5 100644
--- a/common/homedir.c
+++ b/common/homedir.c
@@ -412,6 +412,8 @@ gnupg_cachedir (void)
dir = "c:\\temp\\cache\\gnupg";
#ifdef HAVE_W32CE_SYSTEM
dir += 2;
+ w32_try_mkdir ("\\temp\\cache");
+ w32_try_mkdir ("\\temp\\cache\\gnupg");
#endif
}
}