diff options
author | Karl Williamson <khw@cpan.org> | 2022-08-27 14:40:56 -0600 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2022-08-28 10:41:55 -0600 |
commit | f916ffc593f16ac4999d174110e61265ea7d8251 (patch) | |
tree | ba69c3dd64072a792bedc0cf848327bf1796e559 /perl.h | |
parent | 33a05a755569173075bd45cdc296a71392b203b7 (diff) | |
download | perl-f916ffc593f16ac4999d174110e61265ea7d8251.tar.gz |
Use LIFO in Destroying locale subsystem
I noticed this in code reading. I don't know if it is currently a
problem, but at destruction time, the last created should be the first
destroyed, as nothing should be depending on it (since everything else
was created before it), but it and its destruction could be depending on
things created earlier.
Diffstat (limited to 'perl.h')
-rw-r--r-- | perl.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -7247,9 +7247,9 @@ the plain locale pragma without a parameter (S<C<use locale>>) is in effect. } STMT_END # define LOCALE_TERM STMT_START { \ - MUTEX_DESTROY(&PL_locale_mutex); \ - LOCALE_TERM_LC_NUMERIC_; \ LOCALE_TERM_POSIX_2008_; \ + LOCALE_TERM_LC_NUMERIC_; \ + MUTEX_DESTROY(&PL_locale_mutex); \ } STMT_END #endif |