[Bug 107468] Changed - setlocale( LC_MESSAGES, NULL ) returns "C"

bugzilla-daemon@widget.gnome.org bugzilla-daemon@widget.gnome.org
Fri, 14 Nov 2003 19:45:27 -0500 (EST)


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

http://bugzilla.gnome.org/show_bug.cgi?id=107468

Changed by joss@debian.org.

--- shadow/107468	Fri Nov 14 19:40:23 2003
+++ shadow/107468.tmp.6853	Fri Nov 14 19:45:27 2003
@@ -86,6 +86,19 @@
 bonobo-activation-2.2.5 so - you just need to upgrade.
 
 ------- Additional Comments From joss@debian.org  2003-11-14 19:40 -------
 Created an attachment (id=21471)
 Improved patch
 
+
+------- Additional Comments From joss@debian.org  2003-11-14 19:45 -------
+Sorry, but Christian's patch was written reversed, so nothing was
+applied and the bug it still here.
+
+His solution consisted in removing LC_ALL support. It doesn't work
+because, as stated in the glibc documentation¹, the string returned by
+setlocale for LC_ALL can be anything. I've rewritten the patch to
+still set the LC_ALL parameters, but to copy it using getenv, not
+setlocale.
+
+¹
+http://www.gnu.org/software/libc/manual/html_node/Setting-the-Locale.html