aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2003-07-08 05:00:12 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2003-07-08 05:00:12 +0800
commit01702d56bfc975b6b35d655e160e209f18482e00 (patch)
tree5bf7f3ef11c7f3c21a23f5e38e8a38f81d9e1576 /mail
parent300101f4707c7c0a0e29d24527a93afe0f77a2c7 (diff)
downloadgsoc2013-evolution-01702d56bfc975b6b35d655e160e209f18482e00.tar.gz
gsoc2013-evolution-01702d56bfc975b6b35d655e160e209f18482e00.tar.zst
gsoc2013-evolution-01702d56bfc975b6b35d655e160e209f18482e00.zip
Updated to use the camel-file-utils version of mkdir.
2003-07-07 Jeffrey Stedfast <fejj@ximian.com> * upgrade-mailer.c: Updated to use the camel-file-utils version of mkdir. svn path=/trunk/; revision=21754
Diffstat (limited to 'mail')
-rw-r--r--mail/ChangeLog5
-rw-r--r--mail/upgrade-mailer.c7
2 files changed, 8 insertions, 4 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index 29173456fd..0abe0853fe 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,3 +1,8 @@
+2003-07-07 Jeffrey Stedfast <fejj@ximian.com>
+
+ * upgrade-mailer.c: Updated to use the camel-file-utils version of
+ mkdir.
+
2003-07-02 Jeffrey Stedfast <fejj@ximian.com>
* mail-tools.c (mail_tool_forward_message): Strip the signature
diff --git a/mail/upgrade-mailer.c b/mail/upgrade-mailer.c
index e2dfc1bc8d..130194ca6a 100644
--- a/mail/upgrade-mailer.c
+++ b/mail/upgrade-mailer.c
@@ -46,7 +46,6 @@
#include <libxml/tree.h>
#include <camel/camel-file-utils.h>
-#include <camel/camel-store.h>
struct _storeinfo {
char *base_url;
@@ -254,7 +253,7 @@ cache_upgrade (struct _storeinfo *si, const char *folder_name)
/* make sure all parent directories exist */
if ((p = strrchr (newpath, '/'))) {
*p = '\0';
- camel_mkdir_hier (newpath, 0755);
+ camel_mkdir (newpath, 0755);
*p = '/';
}
@@ -271,7 +270,7 @@ cache_upgrade (struct _storeinfo *si, const char *folder_name)
special_case_folders:
/* the user had a toplevel folder named "folders" */
- if (camel_mkdir_hier (newpath, 0755) == -1) {
+ if (camel_mkdir (newpath, 0755) == -1) {
/* we don't bother to check EEXIST because well, if
folders/folders exists then we're pretty much
fucked */
@@ -293,7 +292,7 @@ cache_upgrade (struct _storeinfo *si, const char *folder_name)
/* make sure all parent directories exist */
if ((p = strrchr (new_path, '/'))) {
*p = '\0';
- camel_mkdir_hier (new_path, 0755);
+ camel_mkdir (new_path, 0755);
*p = '/';
}