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: contrib/gcc_update in non-english locales


Paolo Bonzini wrote:
% svn diff gcc-trunk-bstarynk/contrib/gcc_update
Index: gcc-trunk-bstarynk/contrib/gcc_update
===================================================================
--- gcc-trunk-bstarynk/contrib/gcc_update       (revision 157825)
+++ gcc-trunk-bstarynk/contrib/gcc_update       (working copy)
@@ -43,6 +43,11 @@
 # Default options used when updating via SVN (none).
 UPDATE_OPTIONS=""

+# set the locale to C to make this work for users with foreign locale
+# like e.g. French UTF-8.
+LANG=C
+LC_ALL=C

Add "export LANG LC_ALL" here.


Ok with this change, thanks!

Done (with the added export) in rev 158629. I slightly changed the comment to


# Set the locale to C to make this script work for users with foreign
# locale like e.g. French UTF-8.

Thanks.

--
Basile STARYNKEVITCH         http://starynkevitch.net/Basile/
email: basile<at>starynkevitch<dot>net mobile: +33 6 8501 2359
8, rue de la Faiencerie, 92340 Bourg La Reine, France
*** opinions {are only mines, sont seulement les miennes} ***


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