aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--ChangeLog.ja5
-rw-r--r--src/procmsg.c4
3 files changed, 13 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index e3d3191c..bddd1606 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
2005-07-04
+ * src/procmsg.c: procmsg_read_cache(): mark cache as dirty if open
+ failed.
+
+2005-07-04
+
* version 2.0.0beta4
2005-07-04
diff --git a/ChangeLog.ja b/ChangeLog.ja
index 25bd56ab..87bef566 100644
--- a/ChangeLog.ja
+++ b/ChangeLog.ja
@@ -1,5 +1,10 @@
2005-07-04
+ * src/procmsg.c: procmsg_read_cache(): オープンに失敗したらキャッシュ
+ を dirty としてマークするようにした。
+
+2005-07-04
+
* version 2.0.0beta4
2005-07-04
diff --git a/src/procmsg.c b/src/procmsg.c
index 66ce9fe2..714788da 100644
--- a/src/procmsg.c
+++ b/src/procmsg.c
@@ -237,8 +237,10 @@ GSList *procmsg_read_cache(FolderItem *item, gboolean scan_file)
}
if ((fp = procmsg_open_cache_file_with_buffer
- (item, DATA_READ, file_buf, sizeof(file_buf))) == NULL)
+ (item, DATA_READ, file_buf, sizeof(file_buf))) == NULL) {
+ item->cache_dirty = TRUE;
return NULL;
+ }
debug_print("Reading summary cache...");