The problem was in the changed return value semantics. One spot was
missed during the conversion. Here's the patch. Let me know if this
doesn't fix the problem.
(Oh, and BTW, Linas, now that I see what you did with the traversal
code, I completely agree with your changes --- I'd just prefer a
little more of a "heads up" on stuff like this.)
diff -u -r1.47 FileIO.c
--- FileIO.c 1999/05/30 04:24:38 1.47
+++ FileIO.c 1999/06/06 14:35:51
@@ -1598,11 +1598,12 @@
DEBUG ("writeAccount(): will write %d trans\n", numUnwrittenTrans);
- if(!xaccAccountStagedTransactionTraversal(acc, 2,
- _write_transaction_wrapper_, &fd)) {
+ if(0 != xaccAccountStagedTransactionTraversal(acc, 2,
+ _write_transaction_wrapper_,
+ &fd)) {
return -1;
}
-
+
if (acc->children) {
numChildren = 1;
} else {
--
Rob Browning <[EMAIL PROTECTED]> PGP=E80E0D04F521A094 532B97F5D64E3930
----- %< -------------------------------------------- >% ------
The GnuCash / X-Accountant Mailing List
To unsubscribe, send mail to [EMAIL PROTECTED] and
put "unsubscribe gnucash-devel [EMAIL PROTECTED]" in the body