From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 110023 invoked by alias); 21 Jun 2017 07:53:43 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 110013 invoked by uid 89); 21 Jun 2017 07:53:42 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-101.9 required=5.0 tests=AWL,BAYES_00,GOOD_FROM_CORINNA_CYGWIN,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS autolearn=ham version=3.3.2 spammy=H*c:application X-HELO: drew.franken.de Received: from mail-n.franken.de (HELO drew.franken.de) (193.175.24.27) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 21 Jun 2017 07:53:40 +0000 Received: from aqua.hirmke.de (aquarius.franken.de [193.175.24.89]) (Authenticated sender: aquarius) by mail-n.franken.de (Postfix) with ESMTPSA id B3BA2721E282F for ; Wed, 21 Jun 2017 09:53:36 +0200 (CEST) Received: from calimero.vinschen.de (calimero.vinschen.de [192.168.129.6]) by aqua.hirmke.de (Postfix) with ESMTP id F19895E0373 for ; Wed, 21 Jun 2017 09:53:35 +0200 (CEST) Received: by calimero.vinschen.de (Postfix, from userid 500) id DA5E6A803D5; Wed, 21 Jun 2017 09:53:35 +0200 (CEST) Date: Wed, 21 Jun 2017 07:53:00 -0000 From: Corinna Vinschen To: cygwin@cygwin.com Subject: Re: duplication in locale output ja_JP Message-ID: <20170621075335.GB6658@calimero.vinschen.de> Reply-To: cygwin@cygwin.com Mail-Followup-To: cygwin@cygwin.com References: <232e5654-de77-ad30-30b1-acec483b7323@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="3V7upXqbjpZ4EhLz" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.8.0 (2017-02-23) X-SW-Source: 2017-06/txt/msg00253.txt.bz2 --3V7upXqbjpZ4EhLz Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-length: 1868 On Jun 20 16:16, Brian Inglis wrote: > On 2017-06-20 14:50, Marco Atzeri wrote: > > I don't know if it is a bug or just a curiosity. > > $ uname -svr > > CYGWIN_NT-6.1 2.8.1(0.310/5/3) > > it seems there are two equal entry for ja_JP > > and it is the only one with repetition > > $ locale -a |grep -i "ja" > > ja_JP > > ja_JP > > ja_JP.utf8 > > ja_JP.ujis > > ja_JP@cjknarrow > > ja_JP.utf8@cjknarrow > > japanese > > japanese.euc > > japanese.sjis > > $ locale -a | uniq -d > > ja_JP >=20 > Looks like the ja_JP locale.alias entry is redundant when a Windows > entry also exists: >=20 > $ cmd /c ver > Microsoft Windows [Version 10.0.14393] > $ uname -svrmo > CYGWIN_NT-10.0 2.8.0(0.309/5/3) 2017-04-01 20:47 x86_64 Cygwin > $ locale --version > locale (cygwin) 2.8.0 > $ locale -av | fgrep ja_JP > locale: ja_JP archive: /usr/share/locale/locale.alias > locale: ja_JP archive: /cygdrive/c/WINDOWS/System32/KERNEL32.DLL > locale: ja_JP.utf8 archive: /cygdrive/c/WINDOWS/System32/KERNEL32.DLL > locale: ja_JP.ujis archive: /usr/share/locale/locale.alias > locale: ja_JP@cjknarrow archive: /cygdrive/c/WINDOWS/System32/KERNEL32.DLL > locale: ja_JP.utf8@cjknarrow archive: > /cygdrive/c/WINDOWS/System32/KERNEL32.DLL > $ fgrep ja_JP /usr/share/locale/locale.alias > japanese ja_JP.eucJP > japanese.euc ja_JP.eucJP > ja_JP ja_JP.eucJP > ja_JP.ujis ja_JP.eucJP > japanese.sjis ja_JP.SJIS >=20 > Same results on Cygwin32. The duplication is a minor tradeoff in the way the locale.alias file and the builtin locales are evaluated. Actually, this may occur on Linux, too, at least I could reproduce it a couple of years ago, so I'm not too worried about it. Corinna --=20 Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat --3V7upXqbjpZ4EhLz Content-Type: application/pgp-signature; name="signature.asc" Content-length: 819 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJZSiX/AAoJEPU2Bp2uRE+g5BoP/jasVxC8FZ6uR+v6rc9H4+y5 LxW+h0dq7BogvxTfmhFG/ELbYcXiCQFwkLXH6mjxfyqM1KxRu6zOZQM8QNh8UF0K 3GKQOiGto9Nkb71mEay2mEWk5R+XfaPTsmaBTteAshhtqL3BrJqM2vdxYTy8dLVN lZj23pYgzYLdiI5PQrp4hWQnaHJFxyrZ7uRYnJSzvVgSb6XSDa1G6kF4ReA/3Lro GgjrAsDhxs2BSUBmnqo9JOHYTFGk2M5AwTtVBsrWu7gTo9fiTlp9jiWYpjgg126R PQDZopla2qvP5kjlfARPtP7qLkhymdXTK7s84S6QIkHvY+P5P54E8KFly0RMRWpM 0PwYtgRR9w+Bo0C2nJOFCGakvZ31xuiHqDENWAsBuFEWZxneDoGE1eJAYFgGzvR4 Skr0UeaARRA34ddF1gsTh6OTZTZWarSj7D5oWA0RoO1N1IkQ2kOOUr9+UzU+CptM KQYF+Jdb6HzEoUuOQ+KvlW0ovzO4ogVhPWxAnOHZHiHH5389gbS3MD341kf6QWgQ s/F1q8G7HmIxYbz3vzRQZ7YmlW3TGsxviUX+Sq6UPGMLD+IuiGurP92MIaHmh6UN sCCj8LLxPsf0n5m0bQKAdSg6dyv9AeSgez/QGrgoEGOMPpVEZ+xK8GP7eUWcRmBi Cmihq9C5GAV/XvuubOOw =Zbq4 -----END PGP SIGNATURE----- --3V7upXqbjpZ4EhLz--