This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
POSIX.xs: Prefer mbrtowc() over mbtowc()
authorKarl Williamson <khw@cpan.org>
Thu, 11 Jan 2018 05:35:12 +0000 (22:35 -0700)
committerKarl Williamson <khw@cpan.org>
Wed, 31 Jan 2018 13:33:03 +0000 (06:33 -0700)
commit6de6aebdf89cb5abd8296cf686184e4b9461d11b
tree05707342df15cc53eeb1fd400d1d639d8b679411
parent6c9ff7e96e919b8b1290145c5f7c63b8f52365bc
POSIX.xs: Prefer mbrtowc() over mbtowc()

mbrtowc is reentrant, so use it on threaded perls if available when
POSIX::mbtowc() is called.
ext/POSIX/POSIX.xs