Correctly localized strings

Nick Clifton nickc@cambridge.redhat.com
Fri Apr 27 08:51:00 GMT 2001


Hi Michal,

> On 19 Apr 2001, Nick Clifton wrote:
> 
> > This second part has a problem though.  On some, older, systems,
> > isprint() is only defiend to work on values that are accepted by
> > isascii() and using values outside of that range will produce
> > segmentation faults. 
> > 
> > I think that perhaps this part of your patch:
> > ought to be changed to:
> > > +#if defined isascii && ! defined HAVE_LOCALE_H
> 
> OK, lets use this code, it should work (with a small syntax change):
> -#ifdef isascii
> +#if defined isascii && !defined HAVE_LOCALE_H

Fine.  I have approved and applied this patch.

Cheers
        Nick



More information about the Binutils mailing list