This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
locale.c: Unlock mutex before croaking
authorKarl Williamson <khw@cpan.org>
Sun, 6 Dec 2020 23:29:11 +0000 (16:29 -0700)
committerKarl Williamson <khw@cpan.org>
Tue, 8 Dec 2020 13:44:20 +0000 (06:44 -0700)
commitd523eeeb193a631f11e38eb49b4af1b27534853b
tree2379b59d9d73ca36ec84849dcee25192257fd178
parent7953f73fd803e53f20bdf0801f194691543b0f87
locale.c: Unlock mutex before croaking

These cases aren't supposed to happen, but unlock the mutex first;
we could get into deadlock in trying to output the death message.
locale.c