This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
contrib/gcc_update in non-english locales
- From: Basile Starynkevitch <basile at starynkevitch dot net>
- To: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Wed, 21 Apr 2010 18:25:08 +0200
- Subject: contrib/gcc_update in non-english locales
Hello All
The contrib/gcc_update script does not seem to work in non-english
locales (e.g. in a French UTF8 locale on Linux).
The following patch (from the MELT branch) could fix it
*** basile-melt-gcc/contrib/gcc_update Wed Apr 21 18:21:52 2010
--- gcc-trunk-bstarynk/contrib/gcc_update Sun Oct 4 10:30:09 2009
***************
*** 37,45 ****
# contrib/gcc_update --touch
# contrib/gcc_update --list
- ## this script dont work well in French locale, so
- LANG=C
- LC_ALL=C
# SVN command
GCC_SVN=${GCC_SVN-${SVN-svn}}
--- 37,42 ----
Comments are welcome.
Cheers.
--
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} ***