[Bug 113517] Migration from 32 bits to 64 bits change endianess and crash kmail on indexes
Nicolas Lécureuil
nlecureuil at mandriva.com
Wed Sep 1 12:11:58 BST 2010
https://bugs.kde.org/show_bug.cgi?id=113517
Nicolas Lécureuil <nlecureuil at mandriva.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |nlecureuil at mandriva.com
--- Comment #3 from Nicolas Lécureuil <nlecureuil mandriva com> 2010-09-01 13:11:52 ---
can't we just recreate the index ?
with something like :
Index: kmail/kmmsgbase.cpp
===================================================================
--- kmail/kmmsgbase.cpp (révision 1164609)
+++ kmail/kmmsgbase.cpp (copie de travail)
@@ -1060,7 +1060,12 @@
goto retry;
}
if(type == t) {
- assert(sizeOfLong == len);
+ if (sizeOfLong == len)
+ {
+ if (!storage()->recreateIndex())
+ return 0;
+ goto retry;
+ }
if (sizeOfLong == sizeof(ret))
{
copy_from_stream(ret);
--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the Kdepim-bugs
mailing list