This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc 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]

[PATCH] Fix bo_CN and bo_IN locales


bo_CN and bo_IN have an empty name_fmt field, causing localedef to fail:

$ localedef -c -f UTF-8 -i bo_IN bo_IN.UTF-8
LC_NAME: field `name_fmt' must not be empty

While I don't know what are the correct values for this locale, I think
this should be fixed, to not break localedef and the tools using it. I
therefore suggest to change the value to "???" as it is already done for
the az_AZ and tt_RU locales.

diff --git a/localedata/ChangeLog b/localedata/ChangeLog
index c993960..2f354e8 100644
--- a/localedata/ChangeLog
+++ b/localedata/ChangeLog
@@ -1,3 +1,8 @@
+2013-05-12  Aurelien Jarno  <aurelien@aurel32.net>
+
+	* locales/bo_CN (LC_NAME): set name_fmt to "???".
+	* locales/bo_IN (LC_NAME): Likewise.
+
 2013-04-27  Nik Kalach  <nikka@fedoraproject.org>
 
 	[BZ #15221]
diff --git a/localedata/locales/bo_CN b/localedata/locales/bo_CN
index aa8ff07..e568280 100644
--- a/localedata/locales/bo_CN
+++ b/localedata/locales/bo_CN
@@ -145,7 +145,7 @@ END LC_MEASUREMENT
 LC_NAME
 % FIXME
 
-name_fmt  ""
+name_fmt  "???"
 % name_gen	"FIXME"
 % name_miss	"FIXME"
 % name_mr	"FIXME"
diff --git a/localedata/locales/bo_IN b/localedata/locales/bo_IN
index 9e9c4ff..16e8dd3 100644
--- a/localedata/locales/bo_IN
+++ b/localedata/locales/bo_IN
@@ -70,7 +70,7 @@ END LC_MEASUREMENT
 
 LC_NAME
 % FIXME
-name_fmt	""
+name_fmt	"???"
 % name_gen	"FIXME"
 % name_miss	"FIXME"
 % name_mr	"FIXME"


-- 
Aurelien Jarno	                        GPG: 1024D/F1BCDB73
aurelien@aurel32.net                 http://www.aurel32.net


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