In perl.git, the branch smoke-me/khw-locale has been created <http://perl5.git.perl.org/perl.git/commitdiff/41a7796b28fa354e510a606e2aded9afc5e32099?hp=0000000000000000000000000000000000000000>
at 41a7796b28fa354e510a606e2aded9afc5e32099 (commit) - Log ----------------------------------------------------------------- commit 41a7796b28fa354e510a606e2aded9afc5e32099 Author: Karl Williamson <k...@cpan.org> Date: Mon Jul 7 15:46:49 2014 -0600 ext/POSIX/POSIX.xs: White space only, align column M ext/POSIX/POSIX.xs commit 6d1c72cc1da297b8e8dcc03901cefd1582101b7b Author: Karl Williamson <k...@cpan.org> Date: Mon Jul 7 15:14:49 2014 -0600 POSIX::setlocale(LC_NUMERIC) returns proper locale Commit 4c28b29c7a1549f173177cdf69e91cc1acaa0969 broke calling setlocale with a single parameter and hoping to get the correct LC_NUMERIC property returned from it (including LC_ALL calls). This is because the numeric locale is now kept as C except around the code that wants it to be the underlying locale. It turns out that querying the current locale is such a code area, so LC_NUMERIC is now set to the underlying locale around this. M ext/POSIX/POSIX.xs M ext/POSIX/lib/POSIX.pm M t/run/locale.t commit 691cb88981ecdd99b9892e6cb72ebfc4cbac6a50 Author: Karl Williamson <k...@cpan.org> Date: Mon Jul 7 14:42:11 2014 -0600 locale.c: White-space only Outdent because the previous commit removed the enclosing block. M locale.c commit 6668d18fe2d04c9d3fe7de8c049e21a99893a575 Author: Karl Williamson <k...@cpan.org> Date: Mon Jul 7 14:38:08 2014 -0600 locale.c: Remove conditionals. These two functions are supposed to normally be called through macro interfaces which check whether they actually should be called or not. That means the conditionals removed by this commit are redundant from the normal interface. By removing them, we allow the exceptional case where the code should be executed unconditionally, to happen, by just calling the functions directly, not using the macro interface. M locale.c commit 0969c675f6c49a809609f3a1579336499ee3a788 Author: Karl Williamson <k...@cpan.org> Date: Mon Jul 7 14:30:59 2014 -0600 locale.c: Keep better track of C/non-C locale Perl uses three interpreter-level (but private) variables to keep track of numeric locales. PL_numeric name is the current underlying locale. PL_standard is a boolean to indicate if we are switched to the C (or POSIX) locale, and PL_local is a boolean to indicate if we are switched to the underlying one. The reason there are two booleans is if the underlying locale is C, both can be true at the same time. But the code that is being changed by this commit didn't realize this, and could unnecessarily set the booleans to FALSE. This could cause unnecessary switching of locales. M locale.c commit b51e9ab7bc61936d8cce05c44735f48f4f92e615 Author: Karl Williamson <k...@cpan.org> Date: Mon Jul 7 14:21:30 2014 -0600 locale.c: Make a common idiom into a macro M locale.c commit 903c9de1bd9f48ec93bcdec2c6e56f09cb7c537f Author: Karl Williamson <k...@cpan.org> Date: Mon Jul 7 13:59:30 2014 -0600 lib/locale.t: Fix debug statement This was printing using the wrong function. It is a string, and should use the string output function. M lib/locale.t commit 96f121a578c9ccae3f78c79edefbae162089633b Author: Karl Williamson <k...@cpan.org> Date: Sat Jun 28 21:43:02 2014 -0600 utf8.h: Add comment M utf8.h ----------------------------------------------------------------------- -- Perl5 Master Repository