Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 8 Jun 2016 23:51:15 +0200
From:      Dimitry Andric <dim@FreeBSD.org>
To:        Gerald Pfeifer <gerald@pfeifer.com>
Cc:        freebsd-toolchain@freebsd.org, Andreas Tobler <andreast@FreeBSD.org>
Subject:   Re: Duplicate OPT_ entries in gcc/options.h
Message-ID:  <9AC91278-90E5-4C74-9FF1-334D16083102@FreeBSD.org>
In-Reply-To: <75411813-0C9B-4CEF-BEE4-8B26DD8346F7@FreeBSD.org>
References:  <alpine.LSU.2.20.1606082038000.2798@anthias.pfeifer.com> <75411813-0C9B-4CEF-BEE4-8B26DD8346F7@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--Apple-Mail=_433C8A11-E488-4AF6-AD2A-5E94191B9E70
Content-Transfer-Encoding: 7bit
Content-Type: text/plain;
	charset=us-ascii

On 08 Jun 2016, at 23:15, Dimitry Andric <dim@FreeBSD.org> wrote:
> 
> On 08 Jun 2016, at 21:11, Gerald Pfeifer <gerald@pfeifer.com> wrote:
...
> Note that GNU awk does *not* produce a different optionlist file when
> used with either LANG=C or LANG=en_US.UTF-8.

And that phenomenon is explained here:

http://www.gnu.org/software/gawk/manual/gawk.html#POSIX-String-Comparison

"6.3.2.3 String Comparison with POSIX Rules

The POSIX standard says that string comparison is performed based on the
locale's collating order. This is the order in which characters sort, as
defined by the locale (for more discussion, see Locales). This order is
usually very different from the results obtained when doing straight
character-by-character comparison.34

Because this behavior differs considerably from existing practice, gawk
only implements it when in POSIX mode (see Options)."

-Dimitry


--Apple-Mail=_433C8A11-E488-4AF6-AD2A-5E94191B9E70
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename=signature.asc
Content-Type: application/pgp-signature;
	name=signature.asc
Content-Description: Message signed with OpenPGP using GPGMail

-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.30

iEYEARECAAYFAldYk1oACgkQsF6jCi4glqPBXwCeNgPg5b/Rrn8PmpA5Z4XtLMye
0pwAoOc05pY366jfeteql4DO+Zf7v/Ah
=EnZ1
-----END PGP SIGNATURE-----

--Apple-Mail=_433C8A11-E488-4AF6-AD2A-5E94191B9E70--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9AC91278-90E5-4C74-9FF1-334D16083102>