diff options
author | Karl Williamson <khw@cpan.org> | 2016-08-26 13:42:53 -0600 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2016-08-31 20:32:35 -0600 |
commit | c5f058dfd0db4297255d7df7a085fdf36232d5b9 (patch) | |
tree | c1077dca54f89961a13c2cf40768e53a46de7457 /mg.c | |
parent | 8871a094916837597c6a703c2e1b2306314df4fa (diff) | |
download | perl-c5f058dfd0db4297255d7df7a085fdf36232d5b9.tar.gz |
Use new name 'is_utf8_invariant_string' in core
This changes the places in the core to use the clearer synonym added by
the previous commit. It also changes one place that hand-rolled its own
code to use this function instead.
Diffstat (limited to 'mg.c')
-rw-r--r-- | mg.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -758,7 +758,7 @@ S_fixup_errno_string(pTHX_ SV* sv) * error message text. (If it turns out to be necessary, we could also * keep track if the current LC_MESSAGES locale is UTF-8) */ if (! IN_BYTES /* respect 'use bytes' */ - && ! is_invariant_string((U8*) SvPVX_const(sv), SvCUR(sv)) + && ! is_utf8_invariant_string((U8*) SvPVX_const(sv), SvCUR(sv)) && is_utf8_string((U8*) SvPVX_const(sv), SvCUR(sv))) { SvUTF8_on(sv); |