This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: Correctly localized strings
- To: Michal Svec <rebel at atrey dot karlin dot mff dot cuni dot cz>
- Subject: Re: Correctly localized strings
- From: Nick Clifton <nickc at cambridge dot redhat dot com>
- Date: 27 Apr 2001 17:46:43 +0100
- Cc: binutils at sources dot redhat dot com
- References: <Pine.LNX.4.21.0104251030440.6233-200000@atrey.karlin.mff.cuni.cz>
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