setlocale(LC_ALL, "") in gnucash-1.7 missing
Christian Stimming
stimming@tuhh.de
Thu, 3 Oct 2002 12:50:28 +0200
-----BEGIN PGP SIGNED MESSAGE-----
In CVS's gnucash, the locale ist not set. This means that for me, gnucash-1.7
doesn't recognize my non-C locale, and assumes things like USD as standard
currency and US number format. This is a bug and should be fixed.
What is missing is something like setlocale(LC_ALL, ""). In gnucash-1.6, this
happened in function gnc_main in src/guile/gnucash.c. Due to the transition
to guile modules, we got rid of that function, but I guess people just forgot
about this setlocale call. Where would be the right place to add it again? To
see for yourself that it's missing, compare the output of "rgrep -R '*.c'
setlocale *" from gnucash-1.6 to CVS-gnucash.
Christian
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iQCVAwUBPZwg9GXAi+BfhivFAQE3ewP9Ek8BWmuZvF7zzOLKfTYho66dFjwzv6ye
CEPul8LC5YjU68wvYrHtzx6EgWOMusAtv95vwv2gBNa37aFOu6B9RvgN/3BriVAI
a4fl+I+2AqbHRrOPiO92v0ZdON0UGDjbHwd4GTMKZU16D/nvbjkhBEOpUrcSlQxP
fvsvPWwcsmw=
=GkJv
-----END PGP SIGNATURE-----