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_sort.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_sort.c')
-rw-r--r-- | pp_sort.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1727,7 +1727,7 @@ PP(pp_sort) ? ( ( ( priv & OPpSORT_INTEGER) || all_SIVs) ? ( overloading ? S_amagic_i_ncmp : S_sv_i_ncmp) : ( overloading ? S_amagic_ncmp : S_sv_ncmp ) ) - : ( IN_LOCALE_RUNTIME + : ( IN_LC_RUNTIME(LC_COLLATE) ? ( overloading ? (SVCOMPARE_t)S_amagic_cmp_locale : (SVCOMPARE_t)sv_cmp_locale_static) |