From owner-cvs-src@FreeBSD.ORG Sat Oct 27 14:56:21 2007 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 581F916A41B; Sat, 27 Oct 2007 14:56:21 +0000 (UTC) (envelope-from ache@nagual.pp.ru) Received: from nagual.pp.ru (nagual.pp.ru [194.87.13.69]) by mx1.freebsd.org (Postfix) with ESMTP id BB5CC13C4B7; Sat, 27 Oct 2007 14:56:20 +0000 (UTC) (envelope-from ache@nagual.pp.ru) Received: from nagual.pp.ru (ache@localhost [127.0.0.1]) by nagual.pp.ru (8.14.1/8.14.1) with ESMTP id l9REu4nQ062739; Sat, 27 Oct 2007 18:56:04 +0400 (MSD) (envelope-from ache@nagual.pp.ru) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=nagual.pp.ru; s=default; t=1193496964; bh=HkEfCSADy0TjcNPLhHOSf3Cs/I02onJgUeC8/dG ZVv8=; l=533; h=Date:From:To:Cc:Subject:Message-ID:Mail-Followup-To: References:MIME-Version:Content-Type:Content-Disposition: In-Reply-To:User-Agent; b=Mchd7zOgNyMo589w1wg/bQN+j5b9VuANUnVX9H1l 5WWAqF3UxTgyUDFywbWyV6VJAHY+cZVIDwMiVThdUp++fPKOOW6ZVagdIWwY11vwdB6 /2+xCDzRWuaJvmnlyNFNxhssfvct9CW1ozWnUaaX6cvaF5LFWmuRMCUWuqxOCfWI= Received: (from ache@localhost) by nagual.pp.ru (8.14.1/8.14.1/Submit) id l9REu33F062738; Sat, 27 Oct 2007 18:56:03 +0400 (MSD) (envelope-from ache) Date: Sat, 27 Oct 2007 18:56:02 +0400 From: Andrey Chernov To: Daniel Eischen Message-ID: <20071027145602.GA62577@nagual.pp.ru> Mail-Followup-To: Andrey Chernov , Daniel Eischen , Rong-en Fan , Scott Long , John Baldwin , src-committers@freebsd.org, d@delphij.net, Robert Watson , imp@freebsd.org, cvs-src@freebsd.org 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> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.16 (2007-06-09) Cc: Scott Long , src-committers@freebsd.org, d@delphij.net, John Baldwin , cvs-src@freebsd.org, Rong-en Fan , Robert Watson , imp@freebsd.org Subject: Re: cvs commit: src/lib/libc/locale utf8.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Oct 2007 14:56:21 -0000 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/