diff options
author | Karl Williamson <khw@cpan.org> | 2022-12-05 07:46:27 -0700 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2022-12-06 06:40:49 -0700 |
commit | 6125a5e74d95da8dad5982a6bf7c8cbe3801e632 (patch) | |
tree | 6d6cd320db314df2fa917fb2329c940580d704d2 /intrpvar.h | |
parent | 44282561d32a069322c5641afa41adf8fd82b77e (diff) | |
download | perl-6125a5e74d95da8dad5982a6bf7c8cbe3801e632.tar.gz |
locales: Add LC_NAME capabilities
LC_NAME is a GNU extension that Perl hadn't been aware of. The
consequences were that it couldn't be set or queried in Perl (except by
using LC_ALL to set everything). There are other GNU extensions that
Perl has long known about; this was the only missing one.
The values associated with this category are retrievable by the glibc
call nl_langinfo(3) in XS code. The standard-specified items are
retrievable from pure Perl via I18N::Langinfo, but it doesn't know only
about any of the non-standard ones, including the ones for this
category.
Diffstat (limited to 'intrpvar.h')
-rw-r--r-- | intrpvar.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/intrpvar.h b/intrpvar.h index 4dcc9149f0..d0168adc7c 100644 --- a/intrpvar.h +++ b/intrpvar.h @@ -745,7 +745,7 @@ PERLVARI(I, cur_locale_obj, locale_t, NULL) /* This is the most number of categories we've encountered so far on any * platform, doesn't include LC_ALL */ -PERLVARA(I, curlocales, 11, const char *) +PERLVARA(I, curlocales, 12, const char *) #endif #ifdef USE_PL_CUR_LC_ALL |