From owner-cvs-all Thu Jun 6 5:35:15 2002 Delivered-To: cvs-all@freebsd.org Received: from nagual.pp.ru (pobrecita.freebsd.ru [194.87.13.42]) by hub.freebsd.org (Postfix) with ESMTP id 9EC0B37B401; Thu, 6 Jun 2002 05:35:06 -0700 (PDT) Received: from pobrecita.freebsd.ru (ache@localhost [127.0.0.1]) by nagual.pp.ru (8.12.3/8.12.3) with ESMTP id g56CYuaR088453; Thu, 6 Jun 2002 16:35:01 +0400 (MSD) (envelope-from ache@pobrecita.freebsd.ru) Received: (from ache@localhost) by pobrecita.freebsd.ru (8.12.3/8.12.3/Submit) id g56CYr0B088452; Thu, 6 Jun 2002 16:34:54 +0400 (MSD) Date: Thu, 6 Jun 2002 16:34:51 +0400 From: "Andrey A. Chernov" To: "Tim J. Robbins" Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/usr.bin/uniq uniq.c Message-ID: <20020606123450.GA88332@nagual.pp.ru> References: <200206060313.g563DAi26751@freefall.freebsd.org> <20020606031545.GA83612@nagual.pp.ru> <20020606161843.A44561@treetop.robbins.dropbear.id.au> <20020606083246.GA85860@nagual.pp.ru> <20020606192402.A45186@treetop.robbins.dropbear.id.au> <20020606100352.GA86621@nagual.pp.ru> <20020606202942.A45282@treetop.robbins.dropbear.id.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020606202942.A45282@treetop.robbins.dropbear.id.au> User-Agent: Mutt/1.3.28i Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, Jun 06, 2002 at 20:29:42 +1000, Tim J. Robbins wrote: > it is incorrectly implemented. FreeBSD's strcoll() and strxfrm() are > incorrectly implemented: strcoll("ss", "\xdf") == 0 in some locales on FreeBSD, > but equals 1, -1 or -108 on all Solaris locales. It have nothing common with strcoll() _implementation_ at all. This equality information comes from collating table. It means that Solaris collating tables not use "substitute" analog in that place. If you doubt that some particular FreeBSD collating table should use "substitute", contact with collating table author to ask what is really happens in his language. It not means that this mechanism is deprecated in general and not be used in another tables and utilities like uniq. -- Andrey A. Chernov http://ache.pp.ru/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message