Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
After writing all new tab data to temporary file (suffix ".new"), previously saved tab data is renamed (suffix ".old") and kept as backup, then the new temporary file renamed to the tab data file. If loading the tab data file fails, temporary and backup files are tried next. Downside is that all the tab data take twice as much disk space since backup files are kept around.
- Loading branch information
Showing
1 changed file
with
44 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters