This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
avoid synthesizing locale names with newlines in them
authorTony Cook <tony@develop-help.com>
Tue, 23 Jul 2019 00:45:04 +0000 (10:45 +1000)
committerTony Cook <tony@develop-help.com>
Tue, 23 Jul 2019 01:15:56 +0000 (11:15 +1000)
commitf670c2bb3dd57802df85a5c454bf77c8a891846e
tree002baca356eaf8995577d5922f5fb04b2319deac
parent43e5ab2e34fe55efd182c925309a4cf5ff2ec540
avoid synthesizing locale names with newlines in them

while debugging some strange behaviour on Win32 I tried dumping
locale names in _trylocale() and saw names go past like:

sv_fi.15
          <-- newline added at the end
sv_fi.15
.UTF-8
sv_fi.15
.65001
sv_fi.15
.ACP
sv_fi.15
.OCP
sv_fi.15
.1252
t/loc_tools.pl