From owner-freebsd-current@FreeBSD.ORG Sun Nov 18 11:36:30 2007 Return-Path: Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9C2B316A421 for ; Sun, 18 Nov 2007 11:36:30 +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 184DF13C481 for ; Sun, 18 Nov 2007 11:36:29 +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.2/8.14.2) with ESMTP id lAIBaHRj021627; Sun, 18 Nov 2007 14:36:17 +0300 (MSK) (envelope-from ache@nagual.pp.ru) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=nagual.pp.ru; s=default; t=1195385777; bh=bBf6QcGBu4e7eQBWrYJ7lWbuwE3UXYWmZ3Lc/7N VxvE=; l=649; h=Date:From:To:Subject:Message-ID:Mail-Followup-To: References:MIME-Version:Content-Type:Content-Disposition: In-Reply-To:User-Agent; b=cStx0hPuhI1WZRzJN/Q1+rb0o86oxiX38cSr0g4K 5rIp3bmltPtlwYRqasf6a4SSG6AnvwAy+rreYdPGoomYrmhaW8LUcpQm7KkOzms4Lga aHAnTS34jAgUpqpnLTprwnePfNQPyiNeiY7kGHqdk3+8aFSWWHlg6X7ZvsMZ2QsE= Received: (from ache@localhost) by nagual.pp.ru (8.14.2/8.14.2/Submit) id lAIBaHIB021626; Sun, 18 Nov 2007 14:36:17 +0300 (MSK) (envelope-from ache) Date: Sun, 18 Nov 2007 14:36:16 +0300 From: Andrey Chernov To: Martin Nilsson , freebsd-current@FreeBSD.ORG Message-ID: <20071118113616.GB21519@nagual.pp.ru> Mail-Followup-To: Andrey Chernov , Martin Nilsson , freebsd-current@FreeBSD.ORG References: <473FE18B.2090303@gneto.com> <20071118112226.GA20540@nagual.pp.ru> <20071118113019.GA21519@nagual.pp.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20071118113019.GA21519@nagual.pp.ru> User-Agent: Mutt/1.5.16 (2007-06-09) Cc: Subject: Re: Setting LANG=sv_SE.ISO_8859-1 breaks 7.0 buildworld 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: Sun, 18 Nov 2007 11:36:30 -0000 On Sun, Nov 18, 2007 at 02:30:19PM +0300, Andrey Chernov wrote: > On Sun, Nov 18, 2007 at 02:22:26PM +0300, Andrey Chernov wrote: > > 1) it should be sv_SE.ISO8859-1, not sv_SE.ISO_8859-1 > ... > > 4) Test script reduced to minimum > > Even not the awk bug but rather strcoll() or locale definition, reduced > down to that: > #include > #include > #include > > main() { > setlocale(LC_ALL, ""); > printf ("%d\n", strcoll("ve","w")); > } This is locale definition, I find (V,W); and (v,w); there, is that right equivalences for sv_SE? I.e. is v=w in sv_SE sorting? -- http://ache.pp.ru/