"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "libgnucash/backend/xml/test/test-file-stuff.cpp" between
gnucash-5.0.tar.bz2 and gnucash-5.1.tar.bz2

About: GnuCash is personal and small-business financial-accounting software.

test-file-stuff.cpp  (gnucash-5.0.tar.bz2):test-file-stuff.cpp  (gnucash-5.1.tar.bz2)
skipping to change at line 264 skipping to change at line 264
g_return_val_if_fail (cmpfrm, FALSE); g_return_val_if_fail (cmpfrm, FALSE);
if (compare (frm, cmpfrm) == 0) if (compare (frm, cmpfrm) == 0)
{ {
delete cmpfrm; delete cmpfrm;
return TRUE; return TRUE;
} }
else else
{ {
auto frm1str = g_strdup (frm->to_string ().c_str ()); auto frmstr = frm->to_string ();
auto frm2str = g_strdup (cmpfrm->to_string ().c_str ()); auto cmpfrmstr = cmpfrm->to_string ();
printf ("%s vs %s\n", frm1str, frm2str); printf ("%s vs %s\n", frmstr.c_str(), cmpfrmstr.c_str());
g_free (frm1str);
g_free (frm2str);
delete cmpfrm; delete cmpfrm;
return FALSE; return FALSE;
} }
} }
gboolean gboolean
equals_node_val_vs_date (xmlNodePtr node, time64 time) equals_node_val_vs_date (xmlNodePtr node, time64 time)
{ {
return time == dom_tree_to_time64 (node); return time == dom_tree_to_time64 (node);
 End of changes. 2 change blocks. 
6 lines changed or deleted 3 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)