[GNC-dev] Early locale initialization

Geert Janssens geert.gnucash at kobaltwit.be
Thu Mar 18 09:08:42 EDT 2021


Op donderdag 18 maart 2021 13:56:35 CET schreef Derek Atkins:
> On Thu, March 18, 2021 7:58 am, Geert Janssens wrote:
> [snip]
> 
> > 3. While all three allow to tweak some environment parameters, only linux
> > allows the user to do so via the environment file. For Windows and Macos
> > that
> > file is only read after locale is set. Whether that's a good thing depends
> > on
> > the answer to question 2.
> 
> Are you saying that /etc/gnucash/environment (or the equivalent thereof)
> is not read/used on Windows or Mac?
> 
No, it is used on all platforms. But it's only read after locale 
initialization on mac/windows has been done. So for locale initialization it 
only will affect linux. The other parameters in there (like LD_LIBRARY_PATH 
tweaks and so on) will still affect all platforms.

Geert




More information about the gnucash-devel mailing list