diff options
author | Karl Williamson <khw@cpan.org> | 2022-08-11 18:00:47 -0600 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2022-09-02 13:21:24 -0600 |
commit | 3d118badf8a1b8d6cfcb6bf98a51ff62b0b0379a (patch) | |
tree | 6b44f6946900594897554ae731fdfabe9b9842e3 /sv.c | |
parent | 8fffab5814a1dec668cc4056a4a6e0a06b0309f1 (diff) | |
download | perl-3d118badf8a1b8d6cfcb6bf98a51ff62b0b0379a.tar.gz |
locale.c: Rmv no longer used code; UTF8ness cache
What these functions do has been subsumed by code introduced in previous
commits, and in a more straight forward manner.
Also removed in this commit is the cache of the knowing what locales are
UTF-8 or not. This data is now cheaper to calculate when needed, and
there is now a single entry cache, so I don't think the complexity
warrants keeping it.
It could be added back if necessary, split off from the remainder of
this commit.
Diffstat (limited to 'sv.c')
-rw-r--r-- | sv.c | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -15600,7 +15600,6 @@ perl_clone_using(PerlInterpreter *proto_perl, UV flags, /* Did the locale setup indicate UTF-8? */ PL_utf8locale = proto_perl->Iutf8locale; - my_strlcpy(PL_locale_utf8ness, proto_perl->Ilocale_utf8ness, sizeof(PL_locale_utf8ness)); #if defined(USE_ITHREADS) && ! defined(USE_THREAD_SAFE_LOCALE) PL_lc_numeric_mutex_depth = 0; #endif |