diff options
author | Karl Williamson <khw@cpan.org> | 2020-11-29 17:05:13 -0700 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2020-12-08 06:44:20 -0700 |
commit | 8609fe004ed37605b00f517feb6e9c8eb127952c (patch) | |
tree | 070ce503e363588c6a6012e527e46fa989b4eed4 /locale.c | |
parent | cfaae47f842a064f1d08fc0cd008d997947d057a (diff) | |
download | perl-8609fe004ed37605b00f517feb6e9c8eb127952c.tar.gz |
Change name of mutex macro.
This macro is for localeconv(); the new name is clearer as to the
meaning, and this preps for further changes.
Diffstat (limited to 'locale.c')
-rw-r--r-- | locale.c | 14 |
1 files changed, 7 insertions, 7 deletions
@@ -2819,8 +2819,8 @@ S_my_nl_langinfo(const int item, bool toggle) /* We don't bother with localeconv_l() because any system that * has it is likely to also have nl_langinfo() */ - LOCALE_LOCK_V; /* Prevent interference with other threads - using localeconv() */ + LOCALECONV_LOCK; /* Prevent interference with other threads + using localeconv() */ # ifdef TS_W32_BROKEN_LOCALECONV @@ -2847,7 +2847,7 @@ S_my_nl_langinfo(const int item, bool toggle) || ! lc->currency_symbol || strEQ("", lc->currency_symbol)) { - LOCALE_UNLOCK_V; + LOCALECONV_UNLOCK; return ""; } @@ -2877,7 +2877,7 @@ S_my_nl_langinfo(const int item, bool toggle) # endif - LOCALE_UNLOCK_V; + LOCALECONV_UNLOCK; break; # ifdef TS_W32_BROKEN_LOCALECONV @@ -2950,8 +2950,8 @@ S_my_nl_langinfo(const int item, bool toggle) STORE_LC_NUMERIC_FORCE_TO_UNDERLYING(); } - LOCALE_LOCK_V; /* Prevent interference with other threads - using localeconv() */ + LOCALECONV_LOCK; /* Prevent interference with other threads + using localeconv() */ # ifdef TS_W32_BROKEN_LOCALECONV @@ -3003,7 +3003,7 @@ S_my_nl_langinfo(const int item, bool toggle) # endif - LOCALE_UNLOCK_V; + LOCALECONV_UNLOCK; if (toggle) { RESTORE_LC_NUMERIC(); |