2008-07-25 Srinivasa Ragavan <sragavan@novell.com>
** Fix for bug #543569
* camel/camel-store.c: Recreate cache, if it was blown.
svn path=/trunk/; revision=9190
2008-07-25 Srinivasa Ragavan <sragavan@novell.com>
+
+ ** Fix for bug #543569
+
+ * camel/camel-store.c: Recreate cache, if it was blown.
+
+2008-07-25 Srinivasa Ragavan <sragavan@novell.com>
** Reverse the meaning of debug/free safe handlers. Let it crash now, than
on a production build. We can fix it now. It would be turned off for a
g_free (store_path);
}
+ if (!g_file_test(service->url->path, G_FILE_TEST_EXISTS)) {
+ /* Cache might be blown. Recreate. */
+ g_mkdir_with_parents (service->url->path, S_IRWXU);
+ }
+
store->cdb = camel_db_open (store_db_path, ex);
printf("store_db_path %s\n", store_db_path);
if (camel_exception_is_set (ex)) {