This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: gcc-4.2-20060906 is now available
- From: Gerald Pfeifer <gerald at pfeifer dot com>
- To: "Joseph S. Myers" <joseph at codesourcery dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Sun, 17 Sep 2006 21:57:14 +0200 (CEST)
- Subject: Re: gcc-4.2-20060906 is now available
- References: <20060906095110.25690.qmail@sourceware.org> <Pine.LNX.4.63.0609062236120.28097@acrux.dbai.tuwien.ac.at> <Pine.LNX.4.64.0609062053290.15506@digraph.polyomino.org.uk>
[ 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"`