[PATCH/RFA] Internationalize ctype functionality
Hans-Peter Nilsson
hans-peter.nilsson@axis.com
Wed Apr 1 15:49:00 GMT 2009
> Date: Wed, 1 Apr 2009 15:15:22 +0200
> From: Corinna Vinschen <vinschen-mail-follow-up-to-set@redhat.com>
> On Apr 1 14:38, Hans-Peter Nilsson wrote:
> > > From: Corinna Vinschen <XXXXXXXX@XXXXXX.XXX>
> >
> > > The __set_ctype function is called for every target which has
> > > _MB_CAPABLE set.
> >
> > So presumably having __ctype_ptr__ const for other targets is
> > ok, like in the patch I sent.
>
> Yes, that should work, provided you do the same in libc/ctype/ctype_.c.
That part was already there, effectively... oh, you mean some
deliberate means; testing _MB_CAPABLE. Right. Patch
forthcoming. After *cough* testing (though it'll just be
cris-elf, a !_MB_CAPABLE target; not wanting to...raise the
testing bar).
brgds, H-P
More information about the Newlib
mailing list