gnucash maint: Multiple changes pushed

John Ralls jralls at
Fri Apr 18 15:44:57 EDT 2014

Updated	 via (commit)
	 via (commit)
	 via (commit)
	from (commit)

commit 52c07a545d757700303675365def26eb64a1309c
Author: Moritz Lipp <mlq at>
Date:   Thu Apr 17 01:36:55 2014 +0200

    Correct usage of realloc in gnc_xml_be_get_file_lock
    This patch fixes a common mistake where the return value of the function call
    is set to the passed buffer and therefore previous allocated memory is lost if
    the realloc call fails. Therefore a temporary variable is introduced and the
    memory will be freed if the reallocation fails. In addition the return value of
    the malloc allocation is checked.

commit b122141a2cd1f5b1c68cb77090a9e43570c08fb5
Author: Moritz Lipp <mlq at>
Date:   Tue Apr 15 19:59:16 2014 +0200

    Make compatible to libdbi >= 0.9.0
    Several functions of libdbi are now deprecated (e.g.: dbi_conn_new) and have
    been replaced with _r functions (e.g.: dbi_conn_new_r) which now require a
    dbi_instance passed as a parameter. This patch checks if the version of libdbi
    is higher or equal than 0.9.0 and iff so, it uses the new _r functions instead
    of the deprecated ones.

commit b4b097529eb54da64a9040c91ac511dc077d6651
Author: John Ralls <jralls at>
Date:   Sun Apr 13 15:54:15 2014 -0700

    Re-enable loading and saving gnucashdotdir/accelerator-home on OSX
    Per user request. Permits user to customize the accelerator map and have the result
    survive upgrades. Loads gnucashdotdir/accelerator-home if it exists, otherwise loads

Summary of changes:
 src/backend/dbi/gnc-backend-dbi.c             | 46 +++++++++++++++++++++++++++
 src/backend/dbi/test/test-backend-dbi-basic.c | 21 +++++++++++-
 src/backend/xml/gnc-backend-xml.c             | 13 ++++++--
 src/gnome-utils/gnc-gnome-utils.c             | 13 +++++---
 4 files changed, 85 insertions(+), 8 deletions(-)

More information about the gnucash-patches mailing list