diff options
author | Wilmer van der Gaast <wilmer@gaast.net> | 2010-04-14 11:27:50 +0200 |
---|---|---|
committer | Wilmer van der Gaast <wilmer@gaast.net> | 2010-04-14 11:27:50 +0200 |
commit | 21c87a78f1c01fe24610a5d05a65e52bd8eaa796 (patch) | |
tree | c4d95580134610222f8a2630d386be460fa74bb4 /storage_xml.c | |
parent | 81186cab101fa8c2f82137014d0b3c060b658cb0 (diff) | |
parent | 156bbd7b66cf29220c2ff6a86217c4dec5e33765 (diff) |
Merging loads of stuff from mainline.
Diffstat (limited to 'storage_xml.c')
-rw-r--r-- | storage_xml.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/storage_xml.c b/storage_xml.c index b81e1d0c..a0e2fd25 100644 --- a/storage_xml.c +++ b/storage_xml.c @@ -497,6 +497,7 @@ static storage_status_t xml_save( irc_t *irc, int overwrite ) if( !xml_printf( fd, 0, "</user>\n" ) ) goto write_error; + fsync( fd ); close( fd ); path2 = g_strndup( path, strlen( path ) - 1 ); |