summaryrefslogtreecommitdiff
path: root/util.c
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2021-03-13 15:21:38 -0700
committerKarl Williamson <khw@cpan.org>2022-09-29 13:08:27 -0600
commit19e658b84b2f1a1e5a15782b8a6736c1f1065b45 (patch)
treec89fc0e1f3ea66fefc92e6ef27ea550b3227310d /util.c
parentaa910224434a2798971443904b3c8a3a52e28db6 (diff)
downloadperl-19e658b84b2f1a1e5a15782b8a6736c1f1065b45.tar.gz
Change ENV/LOCALE locking read macro names
The old name was confusing.
Diffstat (limited to 'util.c')
-rw-r--r--util.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/util.c b/util.c
index 930ae8ea60..a2403465e4 100644
--- a/util.c
+++ b/util.c
@@ -3975,11 +3975,11 @@ Perl_init_tm(pTHX_ struct tm *ptm) /* see mktime, strftime and asctime */
PERL_UNUSED_CONTEXT;
PERL_ARGS_ASSERT_INIT_TM;
(void)time(&now);
- ENV_LOCALE_READ_LOCK;
+ ENVr_LOCALEr_LOCK;
my_tm = localtime(&now);
if (my_tm)
Copy(my_tm, ptm, 1, struct tm);
- ENV_LOCALE_READ_UNLOCK;
+ ENVr_LOCALEr_UNLOCK;
#else
PERL_UNUSED_CONTEXT;
PERL_ARGS_ASSERT_INIT_TM;