[PATCH] fix for isprint(3)

Joerg Sonnenberger joerg at britannica.bec.de
Sun May 8 08:59:25 PDT 2005


On Sat, May 07, 2005 at 04:09:33PM +0900, YONETANI Tomokazu wrote:
> > Ok, turned out that this patch doesn't cope with rune <-> ctype
> > conversions. I gave up messing with it and just backed out the
> > last commit so as to unbreak some basic tools.
> 
> Anyway, I took a further look at files in lib/libc/locale, and
> I think attached patch should fix the isprint() problem
> (I'm in the process of rebuilding all the ports after the
> libc version bump, with this patch applied).

OK, I fully separated the flag bits and nuked some compat magic.
This should hopefully fix all this issues or at least allows us
to fix them in two places (gen/ctype.c and locale/runetable.c).
It should be mostly backward compatible, with the exception of
the isprint() and isgraph() of course.

Joerg





More information about the Submit mailing list