@@ -15584,30 +15584,6 @@ perl_clone_using(PerlInterpreter *proto_perl, UV flags,
15584
15584
PL_subline = proto_perl->Isubline;
15585
15585
15586
15586
PL_cv_has_eval = proto_perl->Icv_has_eval;
15587
-
15588
- #ifdef USE_LOCALE_COLLATE
15589
- PL_collation_ix = proto_perl->Icollation_ix;
15590
- PL_collation_standard = proto_perl->Icollation_standard;
15591
- PL_collxfrm_base = proto_perl->Icollxfrm_base;
15592
- PL_collxfrm_mult = proto_perl->Icollxfrm_mult;
15593
- PL_strxfrm_max_cp = proto_perl->Istrxfrm_max_cp;
15594
- PL_strxfrm_is_behaved = proto_perl->Istrxfrm_is_behaved;
15595
- PL_strxfrm_NUL_replacement = proto_perl->Istrxfrm_NUL_replacement;
15596
- #endif /* USE_LOCALE_COLLATE */
15597
-
15598
- #ifdef USE_LOCALE_NUMERIC
15599
- PL_numeric_standard = proto_perl->Inumeric_standard;
15600
- PL_numeric_underlying = proto_perl->Inumeric_underlying;
15601
- PL_numeric_underlying_is_standard = proto_perl->Inumeric_underlying_is_standard;
15602
- #endif /* !USE_LOCALE_NUMERIC */
15603
-
15604
- /* Did the locale setup indicate UTF-8? */
15605
- PL_utf8locale = proto_perl->Iutf8locale;
15606
-
15607
- #ifdef USE_LOCALE_THREADS
15608
- assert(PL_locale_mutex_depth <= 0);
15609
- PL_locale_mutex_depth = 0;
15610
- #endif
15611
15587
/* Unicode features (see perlrun/-C) */
15612
15588
PL_unicode = proto_perl->Iunicode;
15613
15589
@@ -15920,20 +15896,37 @@ perl_clone_using(PerlInterpreter *proto_perl, UV flags,
15920
15896
/* Should we warn if uses locale? */
15921
15897
PL_ctype_name = SAVEPV(proto_perl->Ictype_name);
15922
15898
PL_warn_locale = sv_dup_inc(proto_perl->Iwarn_locale, param);
15923
- PL_utf8locale = proto_perl->Iutf8locale;
15924
15899
PL_in_utf8_CTYPE_locale = proto_perl->Iin_utf8_CTYPE_locale;
15925
15900
PL_in_utf8_turkic_locale = proto_perl->Iin_utf8_turkic_locale;
15926
15901
#endif
15927
15902
15903
+ /* Did the locale setup indicate UTF-8? */
15904
+ PL_utf8locale = proto_perl->Iutf8locale;
15905
+
15928
15906
#ifdef USE_LOCALE_COLLATE
15929
15907
PL_in_utf8_COLLATE_locale = proto_perl->Iin_utf8_COLLATE_locale;
15930
15908
PL_collation_name = SAVEPV(proto_perl->Icollation_name);
15909
+ PL_collation_ix = proto_perl->Icollation_ix;
15910
+ PL_collation_standard = proto_perl->Icollation_standard;
15911
+ PL_collxfrm_base = proto_perl->Icollxfrm_base;
15912
+ PL_collxfrm_mult = proto_perl->Icollxfrm_mult;
15913
+ PL_strxfrm_max_cp = proto_perl->Istrxfrm_max_cp;
15914
+ PL_strxfrm_is_behaved = proto_perl->Istrxfrm_is_behaved;
15915
+ PL_strxfrm_NUL_replacement = proto_perl->Istrxfrm_NUL_replacement;
15931
15916
#endif /* USE_LOCALE_COLLATE */
15932
15917
15918
+ #ifdef USE_LOCALE_THREADS
15919
+ assert(PL_locale_mutex_depth <= 0);
15920
+ PL_locale_mutex_depth = 0;
15921
+ #endif
15922
+
15933
15923
#ifdef USE_LOCALE_NUMERIC
15934
15924
PL_numeric_name = SAVEPV(proto_perl->Inumeric_name);
15935
15925
PL_numeric_radix_sv = sv_dup_inc(proto_perl->Inumeric_radix_sv, param);
15936
15926
PL_underlying_radix_sv = sv_dup_inc(proto_perl->Iunderlying_radix_sv, param);
15927
+ PL_numeric_standard = proto_perl->Inumeric_standard;
15928
+ PL_numeric_underlying = proto_perl->Inumeric_underlying;
15929
+ PL_numeric_underlying_is_standard = proto_perl->Inumeric_underlying_is_standard;
15937
15930
15938
15931
# if defined(USE_POSIX_2008_LOCALE)
15939
15932
PL_underlying_numeric_obj = NULL;
0 commit comments