summaryrefslogtreecommitdiff
path: root/perl.c
diff options
context:
space:
mode:
authorStefan Seifert <nine@detonation.org>2019-10-30 16:23:01 +0100
committerTony Cook <tony@develop-help.com>2019-12-12 11:35:20 +1100
commite6c7056ba6f1dca6d04e6d36515a0ffc3a5ec02a (patch)
tree76f720186b490fb6d156db4048883af91258e4af /perl.c
parent91e49152f27fa00e0cb6d477928f8098a9367c05 (diff)
downloadperl-e6c7056ba6f1dca6d04e6d36515a0ffc3a5ec02a.tar.gz
Move PL_check to the interp vars to fix threading issues
Fixes issue #14816
Diffstat (limited to 'perl.c')
-rw-r--r--perl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/perl.c b/perl.c
index 70424cdbab..0e44598e9c 100644
--- a/perl.c
+++ b/perl.c
@@ -458,6 +458,7 @@ perl_construct(pTHXx)
#ifdef USE_POSIX_2008_LOCALE
PL_C_locale_obj = newlocale(LC_ALL_MASK, "C", NULL);
#endif
+ Copy(Gcheck, PL_check, MAXO, Perl_check_t);
ENTER;
init_i18nl10n(1);