From owner-svn-src-head@freebsd.org Tue Nov 10 13:20:48 2015 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 45262A2A502 for ; Tue, 10 Nov 2015 13:20:48 +0000 (UTC) (envelope-from mailing-machine@vniz.net) Received: from mail-lf0-f47.google.com (mail-lf0-f47.google.com [209.85.215.47]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id BFAA31CC6 for ; Tue, 10 Nov 2015 13:20:47 +0000 (UTC) (envelope-from mailing-machine@vniz.net) Received: by lfs39 with SMTP id 39so85233234lfs.3 for ; Tue, 10 Nov 2015 05:20:40 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:cc:from:message-id:date :user-agent:mime-version:in-reply-to:content-type; bh=kvt0N0Bhd8iEynC6lN1a2L1iMqeRsPV0imrEMPy69qg=; b=j/s9YoifR8rDG4OS1+/72R88x06gHLbepj3TKmdhDbOjxobJVSf8GomJ8nd76xw7MT KtAZCpngodiK8TPDkdHghdFOuWB7ndpyaMi8Bd12Gobz1W+/qtdZKxsx6kIvIV3x3Q8C zaycwnGcJnRC0hAxfybVj+vz2tFCLnaisyqHmvg9nygJji5En2prAFd6nxPKds6LsSdY Rh+vjxFbnXIR4Iakc/5p8AcFwGwf/nGOaUy2GdtMQGx15ixejscT1NK9m/lznvWiMR3b NPTPuC2p1gfc1GVNah98Uy4KDc8OHgUH/FLcmYqoN7mhupHAVnO7IRADfLfLa6SjCv24 nXHw== X-Gm-Message-State: ALoCoQmGlyECBJV0D0RmgNxVGyXS564tpK7+whZqW3al38a+gOEBMue6KVK4q4ZqMLRJiY7WJ87B X-Received: by 10.25.25.11 with SMTP id 11mr1564024lfz.91.1447161639862; Tue, 10 Nov 2015 05:20:39 -0800 (PST) Received: from [192.168.1.2] ([89.169.173.68]) by smtp.gmail.com with ESMTPSA id m124sm510774lfd.40.2015.11.10.05.20.38 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 10 Nov 2015 05:20:38 -0800 (PST) Subject: Re: svn commit: r290637 - head/lib/libc/locale To: Baptiste Daroussin References: <201511100811.tAA8BR0R034338@repo.freebsd.org> <5641E7B4.2070508@freebsd.org> <20151110130430.GK10134@ivaldir.etoilebsd.net> Cc: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org From: Andrey Chernov Message-ID: <5641EF26.8060600@freebsd.org> Date: Tue, 10 Nov 2015 16:20:38 +0300 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: <20151110130430.GK10134@ivaldir.etoilebsd.net> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="njvqVghl7507oWfDOK1N41KbIegcVuWee" X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Nov 2015 13:20:48 -0000 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--