This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

[patch] a patch for correct translation messages for glibc-2.2



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,

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]