binutils + i18n

Ian Lance Taylor ian@zembu.com
Wed Sep 12 12:08:00 GMT 2001


"H . J . Lu" <hjl@lucon.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.

Ian



More information about the Libc-alpha mailing list