#62 Quit while repairing (gpar2)

open
nobody
5
2007-08-24
2007-08-24
Anonymous
No

Hello,

I use gpar2 0.3 under debian.

When I click on the "Quit" button while a repair is under process, gpar2 do not leave the archive in a coherent state. Actually, if the file toto.part001.rar was corrupted, during repair it is renamed toto.part001.rar.1 and an other file toto.part001.rar is constructed. This file appears to be incorrect until the whole repair of the archive is finished. If the "Quit" button is clicked *before* the whole repair of the archive is finished, then this toto.part001.rar file, which is incorrect, remains in the directory. The consequence is that if gpar2 is started again, repair may become impossible because the data into toto.part001.rar are less useful than the data into toto.part001.rar.1.

If the quit button is clicked before the repair of the archive is finished, the files that have been created during the repair should be removed, as they are unuseful, and the backup files "*.1" should be renamed to their original names, so the directory content is restored in the state where it was before starting gpar2.

An other thing: the version number of gpar2 should appear in the "A propos" window of gpar2.

Nice work guys !

Nicolas

Discussion


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks