summaryrefslogtreecommitdiff
path: root/pp_sys.c
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2014-06-02 14:49:30 -0600
committerKarl Williamson <khw@cpan.org>2014-06-05 12:23:02 -0600
commitd6ded95025185cb1ec8ca3ba5879cab881d8b180 (patch)
tree2d5d8e027167706f5a25f1456331ce3e189f1232 /pp_sys.c
parente9efacb9548c04c657ed5e5320168a87934aec52 (diff)
downloadperl-d6ded95025185cb1ec8ca3ba5879cab881d8b180.tar.gz
Add parameters to "use locale"
This commit allows one to specify to enable locale-awareness for only a specified subset of the locale categories. Thus you could make a section of code LC_MESSAGES aware, with no locale-awareness for the other categories.
Diffstat (limited to 'pp_sys.c')
-rw-r--r--pp_sys.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pp_sys.c b/pp_sys.c
index 41a315d73b..c8b340845b 100644
--- a/pp_sys.c
+++ b/pp_sys.c
@@ -3470,7 +3470,7 @@ PP(pp_fttext)
#else
else if (*s & 128) {
#ifdef USE_LOCALE
- if (IN_LOCALE_RUNTIME && isALPHA_LC(*s))
+ if (IN_LC_RUNTIME(LC_CTYPE) && isALPHA_LC(*s))
continue;
#endif
/* utf8 characters don't count as odd */