From owner-freebsd-current@FreeBSD.ORG Thu May 10 09:54:07 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id DA65F106564A for ; Thu, 10 May 2012 09:54:07 +0000 (UTC) (envelope-from erik@cederstrand.dk) Received: from csmtp2.one.com (csmtp2.one.com [91.198.169.22]) by mx1.freebsd.org (Postfix) with ESMTP id 9A7678FC08 for ; Thu, 10 May 2012 09:54:07 +0000 (UTC) Received: from [192.168.1.15] (unknown [217.157.7.221]) by csmtp2.one.com (Postfix) with ESMTPA id 45D68303D809; Thu, 10 May 2012 09:54:06 +0000 (UTC) Mime-Version: 1.0 (Apple Message framework v1257) Content-Type: text/plain; charset=us-ascii From: Erik Cederstrand In-Reply-To: <20120510.180247.93202495593231609.okuno.kohji@jp.panasonic.com> Date: Thu, 10 May 2012 11:54:06 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: <45C3D5D9-8287-4E94-9726-873008499B03@cederstrand.dk> References: <20120510.180247.93202495593231609.okuno.kohji@jp.panasonic.com> To: Kohji Okuno X-Mailer: Apple Mail (2.1257) Cc: freebsd-current@freebsd.org Subject: Re: The current libc/locale/toupper.c is mistaken X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 May 2012 09:54:07 -0000 Den 10/05/2012 kl. 11.02 skrev Kohji Okuno: > Hi, >=20 > I think that libc/locale/toupper.c is mistaken. > Could you check it? >=20 > @@ -51,7 +51,7 @@ ___toupper_l(c, l) > { > size_t lim; > FIX_LOCALE(l); > - _RuneRange *rr =3D &XLOCALE_CTYPE(l)->runes->__maplower_ext; > + _RuneRange *rr =3D &XLOCALE_CTYPE(l)->runes->__mapupper_ext; > _RuneEntry *base, *re; Which version of toupper.c is this? My = release/9.0.0/lib/libc/locale/toupper.c already has "__mapupper_ext". Thanks, Erik