From: Chris Cannam <cannam@al...> - 2007-07-20 16:02:09
I've just committed to trunk what I hope is a fix to the data-loss part of bug
This report was quite correctly complaining that if Rosegarden crashed while
saving a file on top of an existing file, the existing file would be lost.
I've modified the file save procedure in RosegardenGUIDoc::saveDocument so as
to instead save to a newly created unique temporary file in the same
directory as the target file (with the same name plus random characters), and
then rename that file to the intended target once the save has completed
I think this should be enough, and I have tested it, but of course it's a very
fundamental part of the code. Please test it as much as you can -- but if
saving modifications to a file you wouldn't want to lose, make a backup
Get latest updates about Open Source Projects, Conferences and News.