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]
Other format: [Raw text]

Re: gcc-4.2-20060906 is now available


[ gcc -> gcc-patches ]

On Wed, 6 Sep 2006, Joseph S. Myers wrote:
> So that explains why there's a huge diff mostly reordering the MD5SUMS 
> file (the locale when logged in interactively must be different from that 
> under cron).  (Perhaps the script should set LC_ALL=C to avoid such 
> variation.)

Like so?

Gerald

2006-09-17  Gerald Pfeifer  <gerald@pfeifer.com>

	* gcc_release (LC_ALL): Default to C.

Index: gcc_release
===================================================================
--- gcc_release	(revision 116996)
+++ gcc_release	(working copy)
@@ -9,7 +9,7 @@
 # Contents:
 #   Script to create a GCC release.
 #
-# Copyright (c) 2001, 2002 Free Software Foundation.
+# Copyright (c) 2001, 2002, 2006 Free Software Foundation.
 #
 # This file is part of GCC.
 #
@@ -518,6 +518,9 @@
 # Initialization
 ########################################################################
 
+LC_ALL=C
+export LC_ALL
+
 # Today's date.
 DATE=`date "+%Y%m%d"`
 LONG_DATE=`date "+%Y-%m-%d"`


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