This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
011b141
)
fix locale.c under -DPERL_GLOBAL_STRUCT_PRIVATE
author
David Mitchell
<davem@iabyn.com>
Tue, 2 Apr 2019 09:05:37 +0000
(10:05 +0100)
committer
David Mitchell
<davem@iabyn.com>
Tue, 2 Apr 2019 09:05:37 +0000
(10:05 +0100)
locale.c
patch
|
blob
|
blame
|
history
diff --git
a/locale.c
b/locale.c
index
85059de
..
81aa00e
100644
(file)
--- a/
locale.c
+++ b/
locale.c
@@
-5605,6
+5605,7
@@
Perl_thread_locale_term()
# ifndef WIN32
{ /* Free up */
+ dVAR;
locale_t cur_obj = uselocale(LC_GLOBAL_LOCALE);
if (cur_obj != LC_GLOBAL_LOCALE && cur_obj != PL_C_locale_obj) {
freelocale(cur_obj);