View Single Post
Old 03-15-2015, 11:23 PM   #13
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,444
Karma: 27757438
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
A power outage or crash or forced reboot *cannot* corrupt a file being edited in the calibre editor. The calibre editor makes *atomic* updates to the file. That mean that it saves a copy of the edited file and then atomically renames it to the original, only if the save operation successfully completed. I have no idea about Sigil.

@BR: Having autosaves at an interval is a poor man's alternative to using atomic file operations for updating files. It is typically found in older editing software or editing software where the file format being edited is suitable for in-place updates.
kovidgoyal is offline   Reply With Quote