summaryrefslogtreecommitdiff
path: root/resources
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2015-01-02 12:43:46 +0000
committerMichael Drake <tlsa@netsurf-browser.org>2015-01-02 12:48:18 +0000
commite31ae2c5a12df0e14d93adca2b83adfe6939bb0b (patch)
tree681425008e78fc6a73a97116140d4b4d67d167f1 /resources
parent8df033357721f62064e4f80850d37d44070530e1 (diff)
downloadnetsurf-e31ae2c5a12df0e14d93adca2b83adfe6939bb0b.tar.gz
netsurf-e31ae2c5a12df0e14d93adca2b83adfe6939bb0b.tar.bz2
Make saving hotlist safer.
If saving hotlist to "<path>", we now save to "<path>.bk", then remove the file at "<path>", and replace it with the one at "<path>.bk". This should prevent hotlist corruption when someone pulls the plug while the hotlist is being written.
Diffstat (limited to 'resources')
0 files changed, 0 insertions, 0 deletions