Fixed save() such that it will be atomic. If the program crashes while writing, it is guaranteed to have either a complete copy of the old or the new data.
9.3 KiB
9.3 KiB
Fixed save() such that it will be atomic. If the program crashes while writing, it is guaranteed to have either a complete copy of the old or the new data.