diff options
author | Karl Williamson <khw@cpan.org> | 2014-06-02 14:49:30 -0600 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2014-06-05 12:23:02 -0600 |
commit | d6ded95025185cb1ec8ca3ba5879cab881d8b180 (patch) | |
tree | 2d5d8e027167706f5a25f1456331ce3e189f1232 /pp_sys.c | |
parent | e9efacb9548c04c657ed5e5320168a87934aec52 (diff) | |
download | perl-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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 */ |