gnucash master: Fix build failures if userdata_home exists but gnc_userdata_home doesn't

Geert Janssens gjanssens at code.gnucash.org
Tue Sep 26 06:38:21 EDT 2017


Updated	 via  https://github.com/Gnucash/gnucash/commit/d266ee34 (commit)
	from  https://github.com/Gnucash/gnucash/commit/4d59be7f (commit)



commit d266ee346c1ca770162bfae019df80963f9041a2
Author: Geert Janssens <geert at kobaltwit.be>
Date:   Tue Sep 26 12:37:33 2017 +0200

    Fix build failures if userdata_home exists but gnc_userdata_home  doesn't
    
    userdata_home is a different directory on each platform we support (default /home/janssege/.local/share on linux for example)
    and gnc_userdata_home is normally userdata_home/GnuCash.
    These directories may not always exist (yet) in all circumstances, so properly handle
    all of these possible situations.



Summary of changes:
 libgnucash/core-utils/gnc-filepath-utils.cpp   | 28 +++++++--
 libgnucash/core-utils/test/test-userdata-dir.c | 80 ++++++++++++++++++++++++--
 2 files changed, 98 insertions(+), 10 deletions(-)



More information about the gnucash-patches mailing list