]> arthur.barton.de Git - bup.git/commit
Avoid partial writes of config/config.h.
authorRob Browning <rlb@defaultvalue.org>
Thu, 10 Jan 2013 02:23:08 +0000 (20:23 -0600)
committerRob Browning <rlb@defaultvalue.org>
Sun, 27 Jan 2013 23:06:48 +0000 (17:06 -0600)
commit66ff902e6318b118dfff03cbec3d9579f5bd248d
tree1ca94038cb0b9ed48b20dbdf71651d8cbbabe5f1
parenta4d3a67fc4967447c4b137d3cba9396ea0557725
Avoid partial writes of config/config.h.

Write to config/config.h.tmp first, then rename it to config/config.h
once it's complete to avoid the possibility of a partially written
file.

Thanks to Paul Schulz <pschulz01@gmail.com> for reporting the problem.

Signed-off-by: Rob Browning <rlb@defaultvalue.org>
Reviewed-by: Zoran Zaric <zz@zoranzaric.de>
config/Makefile
config/configure.inc