gnucash master: Multiple changes pushed

Christopher Lam clam at code.gnucash.org
Sun May 31 10:04:43 EDT 2020


Updated	 via  https://github.com/Gnucash/gnucash/commit/658241d3 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/fe09c45d (commit)
	from  https://github.com/Gnucash/gnucash/commit/2a42078e (commit)



commit 658241d3bec97fd41828ed522a976775d8c7ddc9
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Sun May 31 21:29:47 2020 +0800

    [gnucash-commands] don't force open a locked datafile
    
    qof_session_begin (..., ..., ignore_lock=TRUE, ..., ...) will
    force-open a datafile currently in use in another session.
    
    This will unfortunately delete any existing .LCK file.
    
    To my knowledge there is no read-only qofsession which will leave .LCK
    file intact. Therefore to prevent possible dataloss, it is best to
    disallow opening a locked file which prevents deletion of .LCK file.

commit fe09c45d1796b6ef9b767534903b2ddc6d18f363
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Sun May 31 21:43:17 2020 +0800

    [gnucash-commands] fprintf instead of g_warning
    
    because g_warning doesn't actually report error. also fix indent which
    was previously misleading.



Summary of changes:
 gnucash/gnucash-commands.cpp | 13 ++++++++-----
 1 file changed, 8 insertions(+), 5 deletions(-)



More information about the gnucash-patches mailing list