From owner-freebsd-current@FreeBSD.ORG Thu May 10 10:02:50 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 3B0631065673; Thu, 10 May 2012 10:02:50 +0000 (UTC) (envelope-from erik@cederstrand.dk) Received: from csmtp3.one.com (csmtp3.one.com [91.198.169.23]) by mx1.freebsd.org (Postfix) with ESMTP id B3DF58FC18; Thu, 10 May 2012 10:02:49 +0000 (UTC) Received: from [192.168.1.15] (unknown [217.157.7.221]) by csmtp3.one.com (Postfix) with ESMTPA id 7ABB52406537; Thu, 10 May 2012 10:02:47 +0000 (UTC) Mime-Version: 1.0 (Apple Message framework v1257) Content-Type: text/plain; charset=us-ascii From: Erik Cederstrand In-Reply-To: <45C3D5D9-8287-4E94-9726-873008499B03@cederstrand.dk> Date: Thu, 10 May 2012 12:02:47 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: <661DDC86-F3AA-426E-9202-77616EBD9415@cederstrand.dk> References: <20120510.180247.93202495593231609.okuno.kohji@jp.panasonic.com> <45C3D5D9-8287-4E94-9726-873008499B03@cederstrand.dk> To: Kohji Okuno , David Chisnall 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 10:02:50 -0000 Den 10/05/2012 kl. 11.54 skrev Erik Cederstrand: > Den 10/05/2012 kl. 11.02 skrev Kohji Okuno: >=20 >> 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; >=20 > Which version of toupper.c is this? My = release/9.0.0/lib/libc/locale/toupper.c already has "__mapupper_ext". Sorry for the braino, didn't notice this was sent to current@ It was indeed correct until r227753. Cc'ing David Chrisnall. Thanks, Erik=