about summary refs log tree commit diff
path: root/locale/categories.def
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-10-31 17:44:49 +0000
committerUlrich Drepper <drepper@redhat.com>2000-10-31 17:44:49 +0000
commit7535b2d92dcdbdc79a26baf28da1f7e2aa1889da (patch)
treedd23f881127dfbd9cc7bf652bed6ff2df3775d86 /locale/categories.def
parentb0b21dc10b1601e33b688daecbdeaeb5659a8867 (diff)
downloadglibc-7535b2d92dcdbdc79a26baf28da1f7e2aa1889da.tar.gz
glibc-7535b2d92dcdbdc79a26baf28da1f7e2aa1889da.tar.xz
glibc-7535b2d92dcdbdc79a26baf28da1f7e2aa1889da.zip
Update.
	* locale/programs/locale.c (print_item): Fix one more problem with
	string lists.  Patch by Chen Xiangyang <chenxy@opencjk.org>.

	* locale/categories.def: Add number of arguments to ctype-map-names
	and ctype-class-names entries.  Mark era as stringlist.
Diffstat (limited to 'locale/categories.def')
-rw-r--r--locale/categories.def6
1 files changed, 3 insertions, 3 deletions
diff --git a/locale/categories.def b/locale/categories.def
index c5ef6dc802..14b02dfb02 100644
--- a/locale/categories.def
+++ b/locale/categories.def
@@ -71,8 +71,8 @@ DEFINE_CATEGORY
   DEFINE_ELEMENT (_NL_CTYPE_TOUPPER,      "ctype-toupper",      std, wstring)
   DEFINE_ELEMENT (_NL_CTYPE_TOLOWER,      "ctype-tolower",      std, wstring)
   DEFINE_ELEMENT (_NL_CTYPE_CLASS32,      "ctype-class32",      std, wstring)
-  DEFINE_ELEMENT (_NL_CTYPE_CLASS_NAMES,  "ctype-class-names",  std, stringlist)
-  DEFINE_ELEMENT (_NL_CTYPE_MAP_NAMES,	  "ctype-map-names",    std, stringlist)
+  DEFINE_ELEMENT (_NL_CTYPE_CLASS_NAMES,  "ctype-class-names",  std, stringlist, 10, 32)
+  DEFINE_ELEMENT (_NL_CTYPE_MAP_NAMES,	  "ctype-map-names",    std, stringlist, 2, 32)
   DEFINE_ELEMENT (_NL_CTYPE_WIDTH,	  "ctype-width",        std, bytearray)
   DEFINE_ELEMENT (_NL_CTYPE_MB_CUR_MAX,	  "ctype-mb-cur-max",   std, word)
   DEFINE_ELEMENT (_NL_CTYPE_CODESET_NAME, "charmap",		std, string)
@@ -211,7 +211,7 @@ DEFINE_CATEGORY
   DEFINE_ELEMENT (D_FMT,       "d_fmt",       std, string)
   DEFINE_ELEMENT (T_FMT,       "t_fmt",       std, string)
   DEFINE_ELEMENT (T_FMT_AMPM,  "t_fmt_ampm",  std, string)
-  DEFINE_ELEMENT (ERA,         "era",         opt, stringarray)
+  DEFINE_ELEMENT (ERA,         "era",         opt, stringlist, 0, 100)
   DEFINE_ELEMENT (ERA_YEAR,    "era_year",    opt, string)
   DEFINE_ELEMENT (ERA_D_FMT,   "era_d_fmt",   opt, string)
   DEFINE_ELEMENT (ALT_DIGITS,  "alt_digits",  opt, stringlist,  100, 100)