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:
abd18c6
)
(perl #133981) fix my stupid mistake
author
Tony Cook
<tony@develop-help.com>
Thu, 5 Sep 2019 05:37:30 +0000
(15:37 +1000)
committer
Tony Cook
<tony@develop-help.com>
Thu, 5 Sep 2019 05:37:30 +0000
(15:37 +1000)
locale.c
patch
|
blob
|
blame
|
history
diff --git
a/locale.c
b/locale.c
index
0029c80
..
cdf125c
100644
(file)
--- a/
locale.c
+++ b/
locale.c
@@
-2218,9
+2218,9
@@
S_win32_setlocale(pTHX_ int category, const char* locale)
result = PerlEnv_getenv(category_names[i]);
if (result && strNE(result, "")) {
#ifdef USE_WSETLOCALE
- S_wrap_wsetlocale(aTHX_ categories[i],
locale
);
+ S_wrap_wsetlocale(aTHX_ categories[i],
result
);
#else
- setlocale(categories[i],
locale
);
+ setlocale(categories[i],
result
);
#endif
DEBUG_Lv(PerlIO_printf(Perl_debug_log, "%s:%d: %s\n",
__FILE__, __LINE__,