aboutsummaryrefslogtreecommitdiff
path: root/locale
diff options
context:
space:
mode:
Diffstat (limited to 'locale')
-rw-r--r--locale/localeinfo.h2
-rw-r--r--locale/setlocale.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/locale/localeinfo.h b/locale/localeinfo.h
index 9f58a743c8..dddacfe28d 100644
--- a/locale/localeinfo.h
+++ b/locale/localeinfo.h
@@ -104,7 +104,7 @@ extern struct locale_data *_nl_current_##category;
#include "categories.def"
#undef DEFINE_CATEGORY
-extern const char _nl_category_names[LC_ALL + 1][12];
+extern const char _nl_category_names[LC_ALL + 1][16];
extern const size_t _nl_category_name_sizes[LC_ALL + 1];
extern struct locale_data * *const _nl_current[LC_ALL + 1];
diff --git a/locale/setlocale.c b/locale/setlocale.c
index 1bcc4d5375..5f152e3bba 100644
--- a/locale/setlocale.c
+++ b/locale/setlocale.c
@@ -66,10 +66,10 @@ struct locale_data *const _nl_C[] =
/* Define an array of category names (also the environment variable names),
indexed by integral category.
- We have entries of fixed width (12 for now) do avoid an array of
+ We have entries of fixed width (16 for now) do avoid an array of
pointers. Update the size of the outer array if new, longer locale
names are introduced. */
-const char _nl_category_names[][12] =
+const char _nl_category_names[][16] =
{
#define DEFINE_CATEGORY(category, category_name, items, a, b, c, d) \
[category] = category_name,