sync with 0.8.2cvs13
authorPaul Mangan <paul@claws-mail.org>
Tue, 10 Sep 2002 11:49:10 +0000 (11:49 +0000)
committerPaul Mangan <paul@claws-mail.org>
Tue, 10 Sep 2002 11:49:10 +0000 (11:49 +0000)
ChangeLog
ChangeLog.claws
ChangeLog.jp
configure.in
src/imap.c

index 954560c..8588edc 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,6 +2,8 @@
 
        * src/summaryview.c: summary_show(): refresh even if open_inbox_on_inc
          is set (to avoid summary refresh problem).
+       * src/imap.c: removed warnings by checking the existence of directory
+         before calling remove*_numbered_files().
 
 2002-09-06
 
index 8e5d000..9269b8c 100644 (file)
@@ -1,3 +1,8 @@
+2002-09-10 [paul]      0.8.2claws34
+
+       * sync with 0.8.2cvs13
+               see ChangeLog 2002-09-10
+
 2002-09-10 [christoph] 0.8.2claws33
 
        * src/msgcache.c
index b8b8bbb..2cf3120 100644 (file)
@@ -3,6 +3,8 @@
        * src/summaryview.c: summary_show(): open_inbox_on_inc ¤¬¥»¥Ã¥È
          ¤µ¤ì¤Æ¤¤¤Æ¤â¥ê¥Õ¥ì¥Ã¥·¥å¤¹¤ë¤è¤¦¤Ë¤·¤¿(¥µ¥Þ¥ê¤Î¥ê¥Õ¥ì¥Ã¥·¥å¤Î
          ÌäÂê¤òËɤ°¤¿¤á)¡£
+       * src/imap.c: remove*_numbered_files() ¤ò¸Æ¤ÖÁ°¤Ë¥Ç¥£¥ì¥¯¥È¥ê¤Î
+         Â¸ºß¤ò¥Á¥§¥Ã¥¯¤·¤Æ·Ù¹ð¤ò½üµî¡£
 
 2002-09-06
 
index 872c9c8..3de517d 100644 (file)
@@ -8,7 +8,7 @@ MINOR_VERSION=8
 MICRO_VERSION=2
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=claws33
+EXTRA_VERSION=claws34
 VERSION=$MAJOR_VERSION.$MINOR_VERSION.$MICRO_VERSION$EXTRA_VERSION
 
 dnl set $target
index 46cc236..7ae80f2 100644 (file)
@@ -994,7 +994,8 @@ gint imap_remove_msg(Folder *folder, FolderItem *item, gint uid)
        }
 
        dir = folder_item_get_path(item);
-       remove_numbered_files(dir, uid, uid);
+       if (is_dir_exist(dir))
+               remove_numbered_files(dir, uid, uid);
        g_free(dir);
 
        return IMAP_SUCCESS;
@@ -1039,7 +1040,8 @@ gint imap_remove_all_msg(Folder *folder, FolderItem *item)
        }
 
        dir = folder_item_get_path(item);
-       remove_all_numbered_files(dir);
+       if (is_dir_exist(dir))
+               remove_all_numbered_files(dir);
        g_free(dir);
 
        return IMAP_SUCCESS;
@@ -1663,7 +1665,8 @@ static GSList *imap_delete_cached_messages(GSList *mlist, FolderItem *item,
                    first_uid, last_uid);
 
        dir = folder_item_get_path(item);
-       remove_numbered_files(dir, first_uid, last_uid);
+       if (is_dir_exist(dir))
+               remove_numbered_files(dir, first_uid, last_uid);
        g_free(dir);
 
        for (cur = mlist; cur != NULL; ) {
@@ -1695,7 +1698,8 @@ static void imap_delete_all_cached_messages(FolderItem *item)
        debug_print("Deleting all cached messages...\n");
 
        dir = folder_item_get_path(item);
-       remove_all_numbered_files(dir);
+       if (is_dir_exist(dir))
+               remove_all_numbered_files(dir);
        g_free(dir);
 
        debug_print("done.\n");