diff options
author | bstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-04-22 06:15:07 +0000 |
---|---|---|
committer | bstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-04-22 06:15:07 +0000 |
commit | 7da6fed24cd373c9205ef0bbc098a5123e7e29f6 (patch) | |
tree | 3c8777ade018adbd0177154887a44b9e436ff900 /contrib | |
parent | 99633efee81f483f5307090fa07c05ff112b5f83 (diff) | |
download | gcc-7da6fed24cd373c9205ef0bbc098a5123e7e29f6.tar.gz |
2010-04-22 Basile Starynkevitch <basile@starynkevitch.net>
* gcc_update: Sets the locale to C.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@158629 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/ChangeLog | 4 | ||||
-rwxr-xr-x | contrib/gcc_update | 6 |
2 files changed, 10 insertions, 0 deletions
diff --git a/contrib/ChangeLog b/contrib/ChangeLog index ea62ec4f2b1..3a5f8f56597 100644 --- a/contrib/ChangeLog +++ b/contrib/ChangeLog @@ -1,3 +1,7 @@ +2010-04-22 Basile Starynkevitch <basile@starynkevitch.net> + + * gcc_update: Sets the locale to C. + 2010-04-06 Joseph Myers <joseph@codesourcery.com> * gennews (files): Add files for GCC 4.5. diff --git a/contrib/gcc_update b/contrib/gcc_update index 3e5a842338c..37e65af59c4 100755 --- a/contrib/gcc_update +++ b/contrib/gcc_update @@ -43,6 +43,12 @@ GCC_SVN=${GCC_SVN-${SVN-svn}} # Default options used when updating via SVN (none). UPDATE_OPTIONS="" +# Set the locale to C to make this script work for users with foreign +# locale like e.g. French UTF-8. +LANG=C +LC_ALL=C +export LANG LC_ALL + ######## Anything below shouldn't be changed by regular users. # Arrange for the value of $0 to be available for functions |