Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Nov 2007 14:30:19 +0300
From:      Andrey Chernov <ache@nagual.pp.ru>
To:        Martin Nilsson <martin@gneto.com>, freebsd-current@FreeBSD.ORG
Subject:   Re: Setting LANG=sv_SE.ISO_8859-1 breaks 7.0 buildworld
Message-ID:  <20071118113019.GA21519@nagual.pp.ru>
In-Reply-To: <20071118112226.GA20540@nagual.pp.ru>
References:  <473FE18B.2090303@gneto.com> <20071118112226.GA20540@nagual.pp.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <locale.h>
#include <stdio.h>
#include <string.h>

main() {
setlocale(LC_ALL, "");
printf ("%d\n", strcoll("ve","w"));
}

-- 
http://ache.pp.ru/



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