From 288df6f81821a4c0ea724ef59c46f98bcf1a9b50 Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Fri, 24 Jun 2016 12:11:42 +0200 Subject: [PATCH] Add support for certain newer locales only available with Script Signed-off-by: Corinna Vinschen --- winsup/cygwin/nlsfuncs.cc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/winsup/cygwin/nlsfuncs.cc b/winsup/cygwin/nlsfuncs.cc index 028c13641..72e5f45b4 100644 --- a/winsup/cygwin/nlsfuncs.cc +++ b/winsup/cygwin/nlsfuncs.cc @@ -104,11 +104,15 @@ __get_lcid_from_locale (const char *name) { "ff-SN" , L"ff-Latn-SN" }, { "ha-NG" , L"ha-Latn-NG" }, { "iu-CA" , L"iu-Latn-CA" }, + { "ks-IN" , L"ks-Arab-IN" }, { "ku-IQ" , L"ku-Arab-IQ" }, { "mn-CN" , L"mn-Mong-CN" }, + { "mn-MN" , L"mn-Mong-MN" }, { "no-NO" , L"nb-NO" }, { "pa-PK" , L"pa-Arab-PK" }, + { "quc-GT", L"quc-Latn-GT" }, { "sd-PK" , L"sd-Arab-PK" }, + { "sd-IN" , L"sd-Deva-IN" }, { "sr-BA" , L"sr-Cyrl-BA" }, { "sr-CS" , L"sr-Cyrl-CS" }, { "sr-ME" , L"sr-Cyrl-ME" }, @@ -117,7 +121,7 @@ __get_lcid_from_locale (const char *name) { "tzm-DZ", L"tzm-Latn-DZ" }, { "tzm-MA", L"tzm-Tfng-MA" }, { "uz-UZ" , L"uz-Latn-UZ" }, - { NULL , NULL } + { NULL , NULL } }; for (int i = 0; sc_only_locale[i].loc && sc_only_locale[i].loc[0] <= locale[0]; ++i)