Summary: | KSaveFile::simpleBackupFile should overwrite old backups | ||
---|---|---|---|
Product: | [Unmaintained] kdelibs | Reporter: | Robby Stephenson <robby> |
Component: | kdecore | Assignee: | kdelibs bugs <kdelibs-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | 4.1 | ||
Target Milestone: | --- | ||
Platform: | openSUSE | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | Patch to remove backup file before attempting to copy to it |
Description
Robby Stephenson
2008-12-24 08:20:58 UTC
Created attachment 29599 [details]
Patch to remove backup file before attempting to copy to it
SVN commit 901154 by winterz: In simpleBackupFile(), remove the backup file before copying the source file. This makes the copy work, just in case a backup file already exists. The remove will fail if a backup file doesn't exist (on the first call), but that's ok. Patch from Robby Stephenson. BUG: 178640 M +1 -0 ksavefile.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=901154 |