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

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

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



commit 8f88b7f2b0ea8c0ac9e3b24efa5ebe0fb6a74b5f
Author: John Ralls <[hidden email]>
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(-)

_______________________________________________
gnucash-patches mailing list
[hidden email]
https://lists.gnucash.org/mailman/listinfo/gnucash-patches