Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Oct 2007 18:56:02 +0400
From:      Andrey Chernov <ache@nagual.pp.ru>
To:        Daniel Eischen <deischen@freebsd.org>
Cc:        Scott Long <scottl@samsco.org>, src-committers@freebsd.org, d@delphij.net, John Baldwin <jhb@freebsd.org>, cvs-src@freebsd.org, Rong-en Fan <grafan@gmail.com>, Robert Watson <rwatson@freebsd.org>, imp@freebsd.org
Subject:   Re: cvs commit: src/lib/libc/locale utf8.c
Message-ID:  <20071027145602.GA62577@nagual.pp.ru>
In-Reply-To: <Pine.GSO.4.64.0710270901500.8500@sea.ntplx.net>
References:  <200710150951.l9F9pUm7026506@repoman.freebsd.org> <20071025233536.B99770@fledge.watson.org> <472120E8.90504@samsco.org> <200710261144.34645.jhb@freebsd.org> <472217C2.8020800@samsco.org> <6eb82e0710260954m73b3f17bq2c72a4cdb597640e@mail.gmail.com> <6eb82e0710270130o5557efew95f62aef8035d209@mail.gmail.com> <Pine.GSO.4.64.0710270901500.8500@sea.ntplx.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20071027145602.GA62577>