cvs commit: src/lib/libc/locale utf8.c

Andrey Chernov ache at nagual.pp.ru
Fri Oct 26 12:13:12 PDT 2007


On Fri, Oct 26, 2007 at 10:41:14AM -0700, LI Xin wrote:
> rafan@ has a patch that implements Warner's suggestion by removing the
> inline's from _ctype.h and the macros from ctype.h, and is testing the
> impact.  Basically the approach do the following:
> 
>  - Keep __mb_sb_limit intact.  It is used for internal state of the
> locale system and is needed for programs compiled in the window.
>  - Remove the is*() defines.
>  - Remove the inline functions.
>  - Put the inlined stuff into isctype.c.

Please don't forget that standard still require that this two
int   _toupper(int);
int   _tolower(int);
should be defined as macros in anycase.

About whole decision of inline removing, I already express my feeling in 
previous postings in this thread.

-- 
http://ache.pp.ru/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/cvs-src/attachments/20071026/99dc89c2/attachment.pgp


More information about the cvs-src mailing list