2005-12-08 [colin] 1.9.100cvs77
* src/folder.c Fix the occasionnal item->cache != NULL assertion failure.
This commit is contained in:
parent
fda5ee50e0
commit
3f605a35c9
4 changed files with 12 additions and 1 deletions
|
@ -1,3 +1,9 @@
|
|||
2005-12-08 [colin] 1.9.100cvs77
|
||||
|
||||
* src/folder.c
|
||||
Fix the occasionnal item->cache != NULL
|
||||
assertion failure.
|
||||
|
||||
2005-12-08 [colin] 1.9.100cvs76
|
||||
|
||||
* src/mimeview.c
|
||||
|
|
|
@ -1060,3 +1060,4 @@
|
|||
( cvs diff -u -r 1.30.2.20 -r 1.30.2.21 src/prefs_toolbar.c; ) > 1.9.100cvs74.patchset
|
||||
( cvs diff -u -r 1.204.2.70 -r 1.204.2.71 src/prefs_common.c; cvs diff -u -r 1.103.2.37 -r 1.103.2.38 src/prefs_common.h; cvs diff -u -r 1.2.2.16 -r 1.2.2.17 src/gtk/filesel.c; ) > 1.9.100cvs75.patchset
|
||||
( cvs diff -u -r 1.83.2.52 -r 1.83.2.53 src/mimeview.c; cvs diff -u -r 1.1.2.12 -r 1.1.2.13 src/plugins/pgpcore/sgpgme.c; ) > 1.9.100cvs76.patchset
|
||||
( cvs diff -u -r 1.213.2.69 -r 1.213.2.70 src/folder.c; ) > 1.9.100cvs77.patchset
|
||||
|
|
|
@ -11,7 +11,7 @@ MINOR_VERSION=9
|
|||
MICRO_VERSION=100
|
||||
INTERFACE_AGE=0
|
||||
BINARY_AGE=0
|
||||
EXTRA_VERSION=76
|
||||
EXTRA_VERSION=77
|
||||
EXTRA_RELEASE=
|
||||
EXTRA_GTK2_VERSION=
|
||||
|
||||
|
|
|
@ -2432,6 +2432,10 @@ static void add_msginfo_to_cache(FolderItem *item, MsgInfo *newmsginfo, MsgInfo
|
|||
item->total_msgs++;
|
||||
|
||||
folder_item_update_freeze();
|
||||
|
||||
if (!item->cache)
|
||||
folder_item_read_cache(item);
|
||||
|
||||
msgcache_add_msg(item->cache, newmsginfo);
|
||||
copy_msginfo_flags(flagsource, newmsginfo);
|
||||
folder_item_update_with_msg(item, F_ITEM_UPDATE_MSGCNT | F_ITEM_UPDATE_CONTENT | F_ITEM_UPDATE_ADDMSG, newmsginfo);
|
||||
|
|
Loading…
Reference in a new issue