chiark / gitweb /
make-secnet-sites: Write output to ...~tmp~ and rename
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Thu, 7 Nov 2019 00:42:02 +0000 (00:42 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 7 Dec 2019 21:52:06 +0000 (21:52 +0000)
commitb02aef0f199dc932c6b225af9f46f3b2ade74000
tree80d6e36a523c513e6711746f6c171694d3cd27ea
parent1f7011b476670d69951492a1ac4b4d0c88ef73d0
make-secnet-sites: Write output to ...~tmp~ and rename

This avoids leaving a truncated output file if we crash.  It also
avoids concurrent readers ever seeing a truncated output file.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
make-secnet-sites