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

Andrey Chernov ache at nagual.pp.ru
Sat Oct 27 07:56:21 PDT 2007


On Sat, Oct 27, 2007 at 09:09:32AM -0400, Daniel Eischen wrote:
> Why do we need to expose __mb_sb_limit at all even in 7.x or HEAD?
> It doesn't seem like it can be anything greater than _CACHED_RUNES,

It can be lower than _CACHED_RUNES.

> so if unused __runetype[]
> were initialized to 0 in the implementation for unused entries,

It is not possible in some cases since they are not unused (specifically, 
they used for wide ctype but not for single byte ctype).
See the comment in utf8.c

-- 
http://ache.pp.ru/


More information about the cvs-src mailing list