This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: binutils + i18n
On Wed, Sep 12, 2001 at 12:07:57PM -0700, Ian Lance Taylor wrote:
> "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.
Bruno, can you use safe-ctype.h instead of the new c-ctype.h?
H.J.