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]

Makeinfo patch on egcs-current


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.  */


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