Make sure the data file is intact if the process is interrupted while
commit0ddfede7f97760f3a55620bdfeca3797fc904409
authorBen Kibbey <bjk@luxsci.net>
Sun, 14 Oct 2007 12:11:11 +0000 (14 08:11 -0400)
committerBen Kibbey <bjk@luxsci.net>
Sun, 14 Oct 2007 12:11:11 +0000 (14 08:11 -0400)
tree664af7fe7ca91df457211ebc85f5c41d3866f08d
parent84355f44e8fe8ab61c144d757c31ddd6ace31150
Make sure the data file is intact if the process is interrupted while
saving by saving to a temporary file then renaming it to the data
file.
src/commands.c