summaryrefslogtreecommitdiff
path: root/locale.c
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2020-11-26 06:16:13 -0700
committerKarl Williamson <khw@cpan.org>2020-11-26 20:05:23 -0700
commitf33fd0ebdf4b707aa8a862633713f222d3edc422 (patch)
tree1aff7b4d73c7c5d1763281032e189d50effe2f74 /locale.c
parentab6d150ee160f09d70a0b174a4729ff9c7068515 (diff)
downloadperl-f33fd0ebdf4b707aa8a862633713f222d3edc422.tar.gz
locale.c: Move comment to better place
Diffstat (limited to 'locale.c')
-rw-r--r--locale.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/locale.c b/locale.c
index 4654a5beaf..9500ab7960 100644
--- a/locale.c
+++ b/locale.c
@@ -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