[Bug 140195] deleting maildir does not delete associated .index.ids file

Allen Winter winter at kde.org
Tue Mar 6 03:18:00 GMT 2007


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=140195         
winter kde org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED



------- Additional Comments From winter kde org  2007-03-06 04:17 -------
SVN commit 639786 by winterz:

fix "deleting maildir does not delete associated .index.ids file"
Thanks for the patch CSights.

BUG: 140195


 M  +3 -1      folderstorage.cpp  


--- branches/KDE/3.5/kdepim/kmail/folderstorage.cpp #639785:639786
 @ -723,8 +723,10  @
   clearIndex( true, mExportsSernums ); // delete and remove from dict if necessary
   close(true);
 
-  if ( mExportsSernums )
+  if ( mExportsSernums ) {
     KMMsgDict::mutableInstance()->removeFolderIds( *this );
+    mExportsSernums = false;	// do not writeFolderIds after removal
+  }
   unlink(QFile::encodeName(indexLocation()) + ".sorted");
   unlink(QFile::encodeName(indexLocation()));



More information about the Kdepim-bugs mailing list