From owner-svn-src-all@FreeBSD.ORG Fri Jan 8 06:11:26 2010 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CD908106566C; Fri, 8 Jan 2010 06:11:26 +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 424248FC13; Fri, 8 Jan 2010 06:11:25 +0000 (UTC) Received: from nagual.pp.ru (ache@localhost [127.0.0.1]) by nagual.pp.ru (8.14.3/8.14.3) with ESMTP id o086BOuQ013651; Fri, 8 Jan 2010 09:11:24 +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=1262931084; bh=QTuze42duKMnF2ri105X2/q9xZMPei0vMk2y6GKTkzY=; l=698; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:In-Reply-To; b=ggaPd/pkzcNlJ9CQIPUMQ+Q34H7Pc7cAHaDXIoJgpvP9V3lHcAb3azThWvicjleQX Kx2h+yIimAOqZqrBbEFNw2AM4iD7WXW/5lTlGmZInoZ9W5XOzWE038qnFEcgg7ao1k fNan2pHpP5QKw8nqbMhNHxJmk4QS+mwKJVQSPbmU= Received: (from ache@localhost) by nagual.pp.ru (8.14.3/8.14.3/Submit) id o086BNuP013650; Fri, 8 Jan 2010 09:11:24 +0300 (MSK) (envelope-from ache) Date: Fri, 8 Jan 2010 09:11:23 +0300 From: Andrey Chernov To: Bruce Evans Message-ID: <20100108061123.GA13136@nagual.pp.ru> Mail-Followup-To: Andrey Chernov , Bruce Evans , Konstantin Belousov , src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org References: <201001052020.o05KKVEp002337@svn.freebsd.org> <20100107050409.GA85573@nagual.pp.ru> <20100108030937.Q56559@delplex.bde.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100108030937.Q56559@delplex.bde.org> User-Agent: Mutt/1.5.20 (2009-06-14) Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org, Konstantin Belousov Subject: Re: svn commit: r201604 - head/lib/libc/gen X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Jan 2010 06:11:26 -0000 On Fri, Jan 08, 2010 at 03:29:07AM +1100, Bruce Evans wrote: > Nothing has turned here yet. We just didn't want to risk changing > alphasort() yet. I mean the comment itself. > POSIX adds an EINVAL error and a requirement that errno no be modified > if there is no error, so that errors from strcoll() can be detected > (still messily -- you have to set errno to != EINVAL before the call). > Maybe falling back to strcmp() is good enough for the errnor handling. Currently strcoll() never use EILSEQ and always falback to ASCII when ordering is equal. In the future, when EILSEQ will be used, it can fallback to ASCII too, producing stable ordering. -- http://ache.pp.ru/