This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
POSIX.xs: Prefer mbrlen() over mblen()
authorKarl Williamson <khw@cpan.org>
Thu, 11 Jan 2018 05:28:34 +0000 (22:28 -0700)
committerKarl Williamson <khw@cpan.org>
Wed, 31 Jan 2018 13:33:03 +0000 (06:33 -0700)
commit6c9ff7e96e919b8b1290145c5f7c63b8f52365bc
tree739eaf8604b1bc09e415cca3aa749e54af81f29c
parent660ee27b6f8caf2d6a2edc59e1c6976a66ec155a
POSIX.xs: Prefer mbrlen() over mblen()

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