gnucash maint: Multiple changes pushed

John Ralls jralls at code.gnucash.org
Tue Apr 30 19:31:02 EDT 2019


Updated	 via  https://github.com/Gnucash/gnucash/commit/bfbb89f6 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/529a6cb0 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/d30cf25c (commit)
	from  https://github.com/Gnucash/gnucash/commit/114efe59 (commit)



commit bfbb89f6e28c3cb904a89201cae234af20184577
Author: John Ralls <jralls at ceridwen.us>
Date:   Tue Apr 30 15:00:06 2019 -0700

    Rewire and corrected Doxygen comment for gnc_get_locale() c++ function.
    
    There's no point in going through the cache dance on MinGW, that will
    just throw.

commit 529a6cb06735b21528c8cee0a76f7d396c678078
Author: John Ralls <jralls at ceridwen.us>
Date:   Tue Apr 30 14:56:43 2019 -0700

    Call setlocale(LC_ALL, "") exactly once.
    
    And in Windows only with the value from the environment if there is one.
    Calling it with "" in Windows ignores the environment and sets it to the
    system settings.

commit d30cf25c456beefb2dd735958cf47da35dd9d237
Author: John Ralls <jralls at ceridwen.us>
Date:   Tue Apr 30 14:53:46 2019 -0700

    Call setlocale() with the right form of locale code on Windows.
    
    Perversely Windows uses the form xx-YY for its own localization
    functions but xx_YY for the posix ones including setlocale().



Summary of changes:
 gnucash/gnucash-bin.c                      | 31 ++-----------
 libgnucash/core-utils/gnc-locale-utils.cpp | 71 ++++++++++++++----------------
 libgnucash/scm/utilities.scm               |  6 ---
 3 files changed, 38 insertions(+), 70 deletions(-)



More information about the gnucash-patches mailing list