Correctly localized strings

Michal Svec rebel@atrey.karlin.mff.cuni.cz
Wed Apr 25 01:34:00 GMT 2001


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

Regards
Michal


More information about the Binutils mailing list