This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: contrib/gcc_update in non-english locales
- From: Hans-Peter Nilsson <hp at bitrange dot com>
- To: Paolo Bonzini <bonzini at gnu dot org>
- Cc: Basile Starynkevitch <basile at starynkevitch dot net>, GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Wed, 21 Apr 2010 21:12:46 -0400 (EDT)
- Subject: Re: contrib/gcc_update in non-english locales
- References: <4BCF26E4.3030709@starynkevitch.net> <4BCF2786.9070502@gnu.org>
On Wed, 21 Apr 2010, Paolo Bonzini wrote:
> On 04/21/2010 06:25 PM, Basile Starynkevitch wrote:
> > 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).
>
> How so?
Because it doesn't set LC_ALL=C LANG=C?
> > The following patch (from the MELT branch) could fix it
>
> No, it would break everything. See "Non-bugs" section of the sed manual and
> "Character Classes and Bracket Expressions" section of the grep manual. See
> also all occurrences of "LC_" in the autoconf manual.
Did you say that because the patch was backwards and seemingly
removed LC_ALL=C LANG=C? (And the comment had out-of-line
formatting double "#", wasn't GNU-style; sentence starting with
capital letter, ending with full stop. :)
Basile, always "diff -up old new".
brgds, H-P