gnucash maint: Restore the global locale after Guile munges it.

John Ralls jralls at code.gnucash.org
Sun Feb 10 19:26:06 EST 2019


Updated	 via  https://github.com/Gnucash/gnucash/commit/8f88b7f2 (commit)
	from  https://github.com/Gnucash/gnucash/commit/7d7da8e2 (commit)



commit 8f88b7f2b0ea8c0ac9e3b24efa5ebe0fb6a74b5f
Author: John Ralls <jralls at ceridwen.us>
Date:   Sun Feb 10 14:31:23 2019 -0800

    Restore the global locale after Guile munges it.
    
    There's no way to change the environment locale on Windows so calling
    setlocale(LC_ALL, ""), as guile does in its init routine, reads the
    user's Language and Region settings instead of the environment
    variables. We save the discovered environment locale and call setlocale
    with it again after Guile has initialized.



Summary of changes:
 gnucash/gnucash-bin.c | 24 ++++++++++++++++++++++--
 1 file changed, 22 insertions(+), 2 deletions(-)



More information about the gnucash-patches mailing list