This is the mail archive of the cygwin-cvs@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[newlib-cygwin] Add support for certain newer locales only available with Script


https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=288df6f81821a4c0ea724ef59c46f98bcf1a9b50

commit 288df6f81821a4c0ea724ef59c46f98bcf1a9b50
Author: Corinna Vinschen <corinna@vinschen.de>
Date:   Fri Jun 24 12:11:42 2016 +0200

    Add support for certain newer locales only available with Script
    
    Signed-off-by: Corinna Vinschen <corinna@vinschen.de>

Diff:
---
 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 028c136..72e5f45 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)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]