Hi, This patch had a few problems with it, like it didn't compile due to missing prototypes. I tracked this down to the fact that you used "malloc()" and free()". I've applied a fixed version to 1.8 and HEAD and I'll commit it to CVS soon.
For the record, don't use malloc() and free(), use g_new0() (or other g_alloc macros) and g_free(). -derek PS: patches should be sent to gnucash-patches or, better yet, put into bugzilla with a keyword PATCH. Patches sent here can easily get lost. Phil Longstaff <[EMAIL PROTECTED]> writes: > I have found this patch to be useful. It is built on the 1.8.X branch. > It checks each new price being added to the pricedb and rejects any new > prices where the date, price, commodity and currency match any existing > price. It prevents duplicate prices in the pricedb if you download > quotes and receive the same quote for any commodity. > > Phil > > _______________________________________________ > gnucash-devel mailing list > [EMAIL PROTECTED] > https://lists.gnucash.org/mailman/listinfo/gnucash-devel -- 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 [EMAIL PROTECTED] PGP key available _______________________________________________ gnucash-devel mailing list [EMAIL PROTECTED] https://lists.gnucash.org/mailman/listinfo/gnucash-devel
