This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[patch] a patch for correct translation messages for glibc-2.2
- To: gcc-patches at gcc dot gnu dot org
- Subject: [patch] a patch for correct translation messages for glibc-2.2
- From: Won-kyu Park <wkpark at chem dot skku dot ac dot kr>
- Date: Mon, 20 Nov 2000 19:10:51 +0900
This is a simple patch for correct translation messages for the glibc-2.2
--- gcc.c.orig Mon Oct 2 05:28:13 2000
+++ gcc.c Mon Nov 20 18:52:25 2000
@@ -5144,6 +5144,7 @@
programname = p;
#ifdef HAVE_LC_MESSAGES
+ setlocale (LC_CTYPE, "");
setlocale (LC_MESSAGES, "");
#endif
(void) bindtextdomain (PACKAGE, localedir);
-----------------------8X------------------
glibc always refer the LC_CTYPE, and the LC_MESSAGES work correctly
with proper setted LC_CTYPE.
Regards,