diff options
author | Karl Williamson <khw@cpan.org> | 2021-03-13 15:21:38 -0700 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2022-09-29 13:08:27 -0600 |
commit | 19e658b84b2f1a1e5a15782b8a6736c1f1065b45 (patch) | |
tree | c89fc0e1f3ea66fefc92e6ef27ea550b3227310d /util.c | |
parent | aa910224434a2798971443904b3c8a3a52e28db6 (diff) | |
download | perl-19e658b84b2f1a1e5a15782b8a6736c1f1065b45.tar.gz |
Change ENV/LOCALE locking read macro names
The old name was confusing.
Diffstat (limited to 'util.c')
-rw-r--r-- | util.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; |