This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
locale.c: Add missing mutex locks
authorKarl Williamson <khw@cpan.org>
Sat, 10 Sep 2022 17:50:40 +0000 (11:50 -0600)
committerKarl Williamson <khw@cpan.org>
Mon, 17 Jul 2023 15:35:58 +0000 (09:35 -0600)
commita5fea3d62850346b762a77145cd0318378c48d2d
tree87f3499e825ab3c15d2fc669bb0591ebae43afab
parentcfe3eec1741a8336d1dc6b70c3741485449a77dc
locale.c: Add missing mutex locks

This adds locks around mbrtowc and reading the environment that a code
review indicated were missing.  The mbrtowc lock is currently a no-op,
but a future commit will change that.  The other lock is in code rarely
compiled.
locale.c