In perl.git, the branch smoke-me/khw-locale has been created <http://perl5.git.perl.org/perl.git/commitdiff/34da8d9d5fcad53bc4fa3a72e1ec63cba9c34797?hp=0000000000000000000000000000000000000000>
at 34da8d9d5fcad53bc4fa3a72e1ec63cba9c34797 (commit) - Log ----------------------------------------------------------------- commit 34da8d9d5fcad53bc4fa3a72e1ec63cba9c34797 Author: Karl Williamson <k...@cpan.org> Date: Tue Oct 20 21:40:36 2015 -0600 Various tests: use centralized locale detection These tests were using individually defined heuristics to decide whether to do locale testing or not. However t/loc_tools.pl provides functions that are more reliable and complete for determining this than the hand-rolled ones in these tests. M charclass_invlists.h M ext/POSIX/t/is.t M ext/POSIX/t/posix.t M ext/POSIX/t/time.t M ext/POSIX/t/wrappers.t M ext/XS-APItest/t/handy.t M ext/XS-APItest/t/locale.t M ext/re/t/re_funcs_u.t M lib/unicore/mktables M regcharclass.h M t/op/lc.t M t/re/fold_grind.t M t/run/switches.t M t/uni/fold.t M t/uni/overload.t commit 8b4d27a265a837bb38bdff8eed8eb86d93efc17f Author: Karl Williamson <k...@cpan.org> Date: Thu Nov 19 19:57:11 2015 -0700 lib/locale.pm: Fix so works on platforms without LC_CTYPE These may not actually exist in the wild, but it is better to be general. This also adds an XXX comment about future possibilities. M lib/locale.pm commit 2f56971b361cef152693715c2f2c11a433474668 Author: Karl Williamson <k...@cpan.org> Date: Thu Nov 19 19:53:27 2015 -0700 t/loc_tools.pl: Improve locale detection This would return FALSE if the platform didn't have LC_CTYPE; it really should test if the desired locale category is available, and return TRUE if so, regardless of LC_CTYPE's presence. Now it may be that all platforms that have locales have LC_CTYPE, but it is better to not make that assumption. It also centralizes the tests for basic locale handling into one common function called by the others. M t/loc_tools.pl commit 1fd8b1aef87bafa32ab31c9e0942f317ba8c50ba Author: Karl Williamson <k...@cpan.org> Date: Thu Nov 19 19:51:53 2015 -0700 t/loc_tools.pl: Fix incomplete description in comment M t/loc_tools.pl commit b7f598df04502e65eef2f4165925202ce094f99a Author: Karl Williamson <k...@cpan.org> Date: Fri Oct 30 10:14:08 2015 -0600 t/loc_tools.pl: White-space only M t/loc_tools.pl ----------------------------------------------------------------------- -- Perl5 Master Repository