X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:to:subject:message-id:reply-to :references:mime-version:content-type:in-reply-to; q=dns; s= default; b=O/qEzhSemJTIeGVuWWuKhF8cg9NnsekK07tBBHo5HVyTHWXUhAeBa b+6Sv9dJA6yQNCuycBrviM54EEc9gc5pzD7bFyA0R3+Bg0SjGzqx1bvjbl2HOINU iLVcLvg07tW7Z3o6x3ntVBzwzmv65i2Xq9yMYIIuQ2m/GlOmFpwLz4= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:to:subject:message-id:reply-to :references:mime-version:content-type:in-reply-to; s=default; bh=FNWpi9Hll084vycMuBEpnOlBOac=; b=GrG/KZlYAhHUuan0O+zYp8zcbwH+ EILxMGgUQcszWkveyM9TTBv72vgsZWbUvohibUrZKINxlH2Hp7/svfNIumeLrZWN mcO3t1cP2JVoWwYtY6n6uP+h6wrBrqgIwZgqox8VBBuDzc3pNmaUp83GiBKRrYcz T+mZnKgFJHJo84I= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com 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 Date: Wed, 21 Jun 2017 09:53:35 +0200 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: duplication in locale output ja_JP Message-ID: <20170621075335.GB6658@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <232e5654-de77-ad30-30b1-acec483b7323 AT gmail DOT 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) --3V7upXqbjpZ4EhLz Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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 AT cjknarrow > > ja_JP DOT utf8 AT 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 AT cjknarrow archive: /cygdrive/c/WINDOWS/System32/KERNEL32.DLL > locale: ja_JP DOT utf8 AT 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" -----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--