mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
* 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:
parent
76cf4739af
commit
79a594b1cc
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user