projects
/
platform
/
upstream
/
evolution-data-server.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d581b2f
)
Create the configdir instead of bailing out if it does not exist
author
Fridrich Štrba
<fridrich.strba@bluewin.ch>
Mon, 31 May 2010 11:04:24 +0000
(13:04 +0200)
committer
Fridrich Štrba
<fridrich.strba@bluewin.ch>
Mon, 31 May 2010 11:04:24 +0000
(13:04 +0200)
camel/camel.c
patch
|
blob
|
history
diff --git
a/camel/camel.c
b/camel/camel.c
index
b5d19b7
..
c1da6fb
100644
(file)
--- a/
camel/camel.c
+++ b/
camel/camel.c
@@
-94,6
+94,10
@@
camel_init (const gchar *configdir, gboolean nss_init)
nss_configdir = g_win32_locale_filename_from_utf8 (configdir);
#endif
+ /* Create the configdir if it does not exist
+ * This prevents camel from bailing out on first run */
+ g_mkdir_with_parents (configdir, 0700);
+
/* XXX Currently we store the new shared NSS database in the
* same location we kept the original NSS databases in,
* but at least we have safe shared access between Camel