diff options
author | Karl Williamson <khw@cpan.org> | 2020-11-26 06:16:13 -0700 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2020-11-26 20:05:23 -0700 |
commit | f33fd0ebdf4b707aa8a862633713f222d3edc422 (patch) | |
tree | 1aff7b4d73c7c5d1763281032e189d50effe2f74 /locale.c | |
parent | ab6d150ee160f09d70a0b174a4729ff9c7068515 (diff) | |
download | perl-f33fd0ebdf4b707aa8a862633713f222d3edc422.tar.gz |
locale.c: Move comment to better place
Diffstat (limited to 'locale.c')
-rw-r--r-- | locale.c | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -636,11 +636,12 @@ S_emulate_setlocale(const int category, /* If this assert fails, adjust the size of curlocales in intrpvar.h */ STATIC_ASSERT_STMT(C_ARRAY_LENGTH(PL_curlocales) > LC_ALL_INDEX); -# if defined(_NL_LOCALE_NAME) \ - && defined(DEBUGGING) \ +# if defined(_NL_LOCALE_NAME) \ + && defined(DEBUGGING) \ + /* On systems that accept any locale name, the real underlying \ + * locale is often returned by this internal function, so we \ + * can't use it */ \ && ! defined(SETLOCALE_ACCEPTS_ANY_LOCALE_NAME) - /* On systems that accept any locale name, the real underlying locale - * is often returned by this internal function, so we can't use it */ { /* Internal glibc for querylocale(), but doesn't handle * empty-string ("") locale properly; who knows what other |