D9796: Don't try to move log file which might be in use

Daniel Vrátil noreply at phabricator.kde.org
Thu Jan 11 11:55:34 GMT 2018


dvratil requested changes to this revision.
dvratil added inline comments.
This revision now requires changes to proceed.

INLINE COMMENTS

> akdebug.cpp:139
>          file.setFileName(errorLogFileName());
> -        file.open(QIODevice::WriteOnly | QIODevice::Append | QIODevice::Unbuffered);
> +        file.open(QIODevice::WriteOnly | QIODevice::Unbuffered);
>      }

You probably want `QIODevice::Truncate` here as well

REPOSITORY
  R165 Akonadi

REVISION DETAIL
  https://phabricator.kde.org/D9796

To: vonreth, dvratil
Cc: #windows, #kde_pim, dvasin, winterz, vkrause, mlaurent, knauss, dvratil
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-pim/attachments/20180111/b2b1b739/attachment.html>


More information about the kde-pim mailing list