]> code.citadel.org Git - citadel.git/commitdiff
Finalize fixing of netconfig loosing incident
authorWilfried Goesgens <dothebart@citadel.org>
Mon, 1 Nov 2010 09:24:51 +0000 (10:24 +0100)
committerWilfried Goesgens <dothebart@citadel.org>
Mon, 1 Nov 2010 09:24:51 +0000 (10:24 +0100)
 * need to set & check errno that tells us whether our tempfile was fresh created or already there
 * remove tmpfile on error
 * don't use fopen() because we can't specify the flags we need for that
 * ftruncate() the tempfile at the right place


No differences found