This is the mail archive of the
mailing list for the binutils project.
Re: binutils + i18n
- To: "H . J . Lu" <hjl at lucon dot org>
- Subject: Re: binutils + i18n
- From: Ian Lance Taylor <ian at zembu dot com>
- Date: 12 Sep 2001 12:07:57 -0700
- Cc: Bruno Haible <haible at ilog dot fr>, libc-alpha at sourceware dot cygnus dot com, binutils at sourceware dot cygnus dot com
- References: <email@example.com><20010912115259.A6877@lucon.org>
"H . J . Lu" <firstname.lastname@example.org> writes:
> On Mon, Sep 10, 2001 at 08:39:42PM +0200, Bruno Haible wrote:
> > Ian Lance Taylor writes:
> > > I believe that the assembler should not change the character set it
> > > will accept for identifiers based on the current locale. The
> > > assembler implements a particular programming language, one which I
> > > believe should not be locale dependent. Since the assembler does use
> > > isalpha(), I guess that it makes the mistake you mention, and it
> > > should be rewritten to not use any of the ctype macros.
> > A patch that implements that, i.e. to not use ctype macros except
> > where explicitly dealing internationalizable strings, is at
> > ftp://ftp.ilog.fr/pub/Users/haible/gnu/binutils-diffs. Here is the
> > ChangeLog.
> If noone objects, let's check in and test it as much as we can.
I object, subject to further explanation. I think that any patch
ought to use the existing safe-ctype.h header file, rather than
introduce a new c-ctype.h file.