Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Nov 2015 16:20:38 +0300
From:      Andrey Chernov <ache@freebsd.org>
To:        Baptiste Daroussin <bapt@FreeBSD.org>
Cc:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   Re: svn commit: r290637 - head/lib/libc/locale
Message-ID:  <5641EF26.8060600@freebsd.org>
In-Reply-To: <20151110130430.GK10134@ivaldir.etoilebsd.net>
References:  <201511100811.tAA8BR0R034338@repo.freebsd.org> <5641E7B4.2070508@freebsd.org> <20151110130430.GK10134@ivaldir.etoilebsd.net>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--njvqVghl7507oWfDOK1N41KbIegcVuWee
Content-Type: text/plain; charset=koi8-r
Content-Transfer-Encoding: quoted-printable

On 10.11.2015 16:04, Baptiste Daroussin wrote:
> On Tue, Nov 10, 2015 at 03:48:52PM +0300, Andrey Chernov wrote:
>> On 10.11.2015 11:11, Baptiste Daroussin wrote:
>>> Author: bapt
>>> Date: Tue Nov 10 08:11:27 2015
>>> New Revision: 290637
>>> URL: https://svnweb.freebsd.org/changeset/base/290637
>>>
>>> Log:
>>>   return "US-ASCII" instead of "POSIX" for "C" and "POSIX" locales
>>>   as it used to be in previous version of the locales. Returning
>>>   "POSIX" has too many fallouts.
>>
>> You can return "ANSI_X3.4-1968" (another name of "US-ASCII") to be
>> different with real US-ASCII. It is what glibc returns for C/POSIX
>> locale and most ports expected, being linux-oriented.
>>
> I thought about it, but in the end it is probably safer for now that nl=
_langinfo
> return US-ASCII as it did in the past, to reduce breakage with FreeBSD =
only code
> that maybe be existing ou there.

All FreeBSD code I know never check locale this way. IMHO probability of
potential danger to meet some linux-oriented port with this check is
much much higher than to meet similar FreeBSD only code in the wild. In
any case, changing collate order from A-Za-z to aA-zZ we do just now
have much higher probability to break unknown FreeBSD only code, so one
breaking change can go with other one together.

--=20
http://ache.vniz.net/


--njvqVghl7507oWfDOK1N41KbIegcVuWee
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQEcBAEBCAAGBQJWQe8mAAoJEKUckv0MjfbKKTwH/0KbQ3fyGWPdpR3eCzhPMBAW
z+zq2PM3pvko/MztZxBZZS9AMbEfGuDtpEem+tIv8p8MqIXEBP4cgiuEGyaPc8CA
1pEHa+bOtMfuz0gToRibvbgcUxR3S83GPb/Gqjul5B1Xc8aDAB8dhRhi+vUfhfHY
8CEljwHQUo5Nh6vLB6jdY+LzyLSdo9eUlnJG8nfvOCwuuJBeBWFco9Dllp5hn8Up
j29RTuT/pYbCVAjx1RQ0xPnTm+D+yGAJecYh1jLQu1VNUTelJgipS21sDQG8+mkZ
0NfWc/9QDB2Fx5caIedmdT6svpCeipgHilxPkHNLBzlth/Kqy2Hqmhmw8Hw3JOA=
=ottt
-----END PGP SIGNATURE-----

--njvqVghl7507oWfDOK1N41KbIegcVuWee--



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