This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Makeinfo patch on egcs-current
- To: egcs-patches at egcs dot cygnus dot com
- Subject: Makeinfo patch on egcs-current
- From: Mark Klein <mklein at dis dot com>
- Date: Thu, 27 May 1999 10:08:55 -0700 (PDT)
This is a patch to texinfo on the current snapshot:
Wed May 26 19:30:00 1999 Mark Klein <mklein@dis.com>
* makeinfo/makeinfo.c: Add HAVE_LC_MESSAGES around setlocale call.
Index: texinfo/makeinfo/makeinfo.c
===================================================================
RCS file: /cvs/egcs/egcs/texinfo/makeinfo/makeinfo.c,v
retrieving revision 1.11
diff -c -r1.11 makeinfo.c
*** makeinfo.c 1998/07/06 21:58:00 1.11
--- makeinfo.c 1999/05/27 16:52:09
***************
*** 945,951 ****
--- 945,953 ----
/* Do not use LC_ALL, because LC_NUMERIC screws up the scanf parsing
of the argument to @multicolumn. */
setlocale (LC_TIME, "");
+ #ifdef HAVE_LC_MESSAGES
setlocale (LC_MESSAGES, "");
+ #endif
#endif
/* Set the text message domain. */