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

List:       kde-commits
Subject:    proko2: kdepim/kmail
From:       David Faure <faure () kde ! org>
Date:       2005-04-12 22:13:47
Message-ID: 20050412221347.44E7F3C3 () 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.4.1


--- kdepim/kmail/compactionjob.cpp  #1.9:1.9.4.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