[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE_3_4_BRANCH: kdepim/kmail
From:       David Faure <faure () kde ! org>
Date:       2005-04-12 22:12:38
Message-ID: 20050412221238.B49F63C3 () office ! kde ! org
[Download RAW message or body]

CVS commit by faure: 

Don't leave around mymbox.compacted when compaction fails (e.g. disk full),
otherwise kmail treats it as a real mailbox on the next restart


  M +1 -0      compactionjob.cpp   1.9.6.1


--- kdepim/kmail/compactionjob.cpp  #1.9:1.9.6.1
@@ -178,4 +178,5 @@ void MboxCompactionJob::done( int rc )
     kdDebug(5006) << "Error occurred while compacting " << mbox->location() << endl;
     kdDebug(5006) << "Compaction aborted." << endl;
+    QFile::remove( mTempName );
   }
   mErrorCode = rc;


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic