While looking for another problem I found what look like bugs in a couple of functions [1] in gnc-pricedb.c. It appears to me that the loop termination test is backwards in a couple of places. I've attached a patch that fixes this (if it is indeed a problem).

I added a number of patches to bug reports, but since I don't know how to cause this bug to occur I didn't create a bug report for it.

[1] gnc_pricedb_convert_balance_latest_price and gnc_pricedb_convert_balance_nearest_price.

--
Mike Alexander           [EMAIL PROTECTED]
Ann Arbor, MI            PGP key ID: BEA343A6

Attachment: LoopTermination.patch
Description: application/text

_______________________________________________
gnucash-devel mailing list
[email protected]
https://lists.gnucash.org/mailman/listinfo/gnucash-devel

Reply via email to