2010-12-17 Marcus Brinkmann <mb@g10code.com>
authorMarcus Brinkmann <mb@g10code.com>
Fri, 17 Dec 2010 02:05:14 +0000 (02:05 +0000)
committerMarcus Brinkmann <mb@g10code.com>
Fri, 17 Dec 2010 02:05:14 +0000 (02:05 +0000)
* homedir.c (gnupg_cachedir): Create /temp subdirectories.

common/ChangeLog
common/homedir.c

index 5b4f107..92f23c2 100644 (file)
@@ -1,3 +1,7 @@
+2010-12-17  Marcus Brinkmann  <mb@g10code.com>
+
+       * homedir.c (gnupg_cachedir): Create /temp subdirectories.
+
 2010-12-02  Werner Koch  <wk@g10code.com>
 
        * miscellaneous.c (gnupg_cipher_algo_name): New.  Replace all
index 69a18d7..a6364f8 100644 (file)
@@ -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
         }
     }