| Summary: | ktorrent asks before overwriting old logfile | ||
|---|---|---|---|
| Product: | [Applications] ktorrent | Reporter: | Christian Boltz <kde-bugs> |
| Component: | general | Assignee: | Joris Guisson <joris.guisson> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | adawit |
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | openSUSE | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Christian Boltz
2008-08-10 21:54:08 UTC
This is a bug in KIO : when moving the files, ktorrent will use KIO::file_move and will pass the KIO::Overwrite flag which should make sure this dialog is never shown. (see libbtcore/util/autorotatelogjob.cpp in the ktorrent code) SVN commit 845118 by dfaure: unit test for KIO::file_move with KIO::Overwrite, passes CCBUG: 168874 I think there's no kio bug; please check that you are passing -1 as the third argument and the flags in the fourth argument. (Yes I know, that API could be better -- too late) M +14 -0 jobtest.cpp M +2 -0 jobtest.h WebSVN link: http://websvn.kde.org/?view=rev&revision=845118 see comment #2. Logrotation is done silently and has always been done silently |