[PATCH] Bug 72270: kmail crashes during trying to move a mail to trash, index file 64bit problem
Waldo Bastian
bastian at kde.org
Wed Jan 14 22:44:51 GMT 2004
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
This should fix it. Please test.
Cheers,
Waldo
Index: kmfolderindex.cpp
===================================================================
RCS file: /home/kde/kdepim/kmail/kmfolderindex.cpp,v
retrieving revision 1.15
diff -u -r1.15 kmfolderindex.cpp
- --- kmfolderindex.cpp 12 Oct 2003 14:00:43 -0000 1.15
+++ kmfolderindex.cpp 14 Jan 2004 21:41:12 -0000
@@ -351,7 +351,7 @@
needs_update = false;
}
}
- - if (needs_update || mIndexSwapByteOrder)
+ if (needs_update || mIndexSwapByteOrder || (mIndexSizeOfLong !=
sizeof(long)))
setDirty( true );
// Seek to end of header
fseek(mIndexStream, endOfHeader, SEEK_SET );
- --
bastian at kde.org -=|[ KDE: K Desktop for the Enterprise ]|=- bastian at suse.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
iD8DBQFABcZoN4pvrENfboIRAvXFAKCDYDuKbNF4ykbWHVQsWiXS8PmXFwCfR7fU
lzvrJi8C7x1KzSpBPxtPaIw=
=Q9wv
-----END PGP SIGNATURE-----
More information about the kde-core-devel
mailing list