This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
t/loc_tools.pl: Quit immediately if incompat locale
authorKarl Williamson <khw@cpan.org>
Tue, 10 Jan 2017 18:38:34 +0000 (11:38 -0700)
committerKarl Williamson <khw@cpan.org>
Tue, 10 Jan 2017 18:48:41 +0000 (11:48 -0700)
commitcaf06cdc26767e627e2fd43f5ba3280a3ebcf760
treeda9d24157f9a96364edff39e9e28344f4c3432ba
parent973072b23777638e89857b6212fd0bde31ea99cd
t/loc_tools.pl: Quit immediately if incompat locale

The design of this was to not continue when presented with a locale that
we have discovered is incompatible with Perl.  Instead it was soldiering
on.  Those incompatibilities could cause segfaults, etc if the libc
isn't fully protected against unexpected input.
t/loc_tools.pl