[Gnucash-changes] Document the qof_begin_edit() issue.

Derek Atkins warlord at MIT.EDU
Mon Oct 10 13:41:06 EDT 2005


Neil Williams <linux at codehelp.co.uk> writes:

>> Oh, you changed the converter API?
>
> No.
>
> gnc_commodity *
> dom_tree_to_commodity_ref_no_engine(xmlNodePtr node, QofBook *book)
>
> I've only changed how that function is called from the test
> routine. There are no API changes.

Um, but if the test routines called it inapporpriately... Did you
check to see if anywhere else called it inappropriately?

>> If so you should run a 'find | xargs 
>
> That function isn't xargs.

What I meant was that you should run:

  find . -name \*.c | xargs grep dom_tree_to_commodity_ref_no_engine

To see if there's anywhere else in the code that calls this
function with a NULL pointer..

> See what you make of the patch when it's ready.

Will do.

-derek
-- 
       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
       warlord at MIT.EDU                        PGP key available


More information about the gnucash-devel mailing list