bug 114133, write a tmp file then rename it for write* funcs.
This removes the possibility of out of space errors to occur, and blocks unexpected flat out bails (segfault fex) from hosing important files.

svn path=/main/trunk/; revision=2447
1 file changed