* src/engine/io-gncxml-v2.c (gnc_book_write_to_xml_file_v2): check

return of fclose.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4721 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
James LewisMoss 2001-06-18 00:22:49 +00:00
parent 76cf4739af
commit 79a594b1cc

View File

@ -519,7 +519,10 @@ gnc_book_write_to_xml_file_v2(GNCBook *book, const char *filename)
fprintf(out, "</" GNC_V2_STRING ">\n\n");
write_emacs_trailer(out);
fclose(out);
if(fclose(out) != 0)
{
return FALSE;
}
return TRUE;
}