Ctype patch for review

Andrey Chernov ache at nagual.pp.ru
Fri Sep 21 11:02:30 PDT 2007


On Fri, Sep 21, 2007 at 09:04:44AM +0200, Petr Hroudn?? wrote:
> I believe your patch needs some adjustments for CJK charsets. You are setting
> __mb_sch_limit to 256 for all multibyte locales except UTF-8, but I believe it
> should be 128 also for Big5, GB18030, GBK.

For GB2312 too. Thanx for pointing out, here is adjusted patch.
And __mb_sch_limit renamed to _mb_sb_limit to better match functions 
prefix.

-- 
http://ache.pp.ru/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ctype.patch
Type: text/x-diff
Size: 13531 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20070921/a0425030/ctype.bin


More information about the freebsd-current mailing list