diff options
author | Todd Rinaldo <toddr@cpan.org> | 2018-03-18 17:08:15 -0500 |
---|---|---|
committer | Todd Rinaldo <toddr@cpan.org> | 2018-03-18 17:08:15 -0500 |
commit | 7ab4fa180ed45640e4bde729e8880234abecb737 (patch) | |
tree | 6951a29326c1e9e73d925660a6917ebb29fca364 /cpan/Encode | |
parent | fd144912596d96a5e3927e5100e399e9c94c45f8 (diff) | |
download | perl-7ab4fa180ed45640e4bde729e8880234abecb737.tar.gz |
Upgrade Encode from version 2.96 to 2.97
Diffstat (limited to 'cpan/Encode')
-rw-r--r-- | cpan/Encode/Encode.pm | 4 | ||||
-rw-r--r-- | cpan/Encode/Encode.xs | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/cpan/Encode/Encode.pm b/cpan/Encode/Encode.pm index c1de56100f..f90f929f07 100644 --- a/cpan/Encode/Encode.pm +++ b/cpan/Encode/Encode.pm @@ -1,5 +1,5 @@ # -# $Id: Encode.pm,v 2.96 2018/02/11 05:32:30 dankogai Exp $ +# $Id: Encode.pm,v 2.97 2018/02/21 12:14:24 dankogai Exp $ # package Encode; use strict; @@ -7,7 +7,7 @@ use warnings; use constant DEBUG => !!$ENV{PERL_ENCODE_DEBUG}; our $VERSION; BEGIN { - $VERSION = sprintf "%d.%02d", q$Revision: 2.96 $ =~ /(\d+)/g; + $VERSION = sprintf "%d.%02d", q$Revision: 2.97 $ =~ /(\d+)/g; require XSLoader; XSLoader::load( __PACKAGE__, $VERSION ); } diff --git a/cpan/Encode/Encode.xs b/cpan/Encode/Encode.xs index bc4a77d6d2..774c2b1fec 100644 --- a/cpan/Encode/Encode.xs +++ b/cpan/Encode/Encode.xs @@ -1,5 +1,5 @@ /* - $Id: Encode.xs,v 2.42 2018/02/08 00:26:15 dankogai Exp $ + $Id: Encode.xs,v 2.43 2018/02/21 12:14:33 dankogai Exp dankogai $ */ #define PERL_NO_GET_CONTEXT @@ -387,7 +387,7 @@ strict_utf8(pTHX_ SV* sv) } /* Modern perls have the capability to do this more efficiently and portably */ -#ifdef is_utf8_string_loc_flags +#ifdef utf8n_to_uvchr_msgs # define CAN_USE_BASE_PERL #endif @@ -533,7 +533,7 @@ process_utf8(pTHX_ SV* dst, U8* s, U8* e, SV *check_sv, #else /* Use code for earlier perls */ - PERL_UNUSED_VAR(flags); + ((void)sizeof(flags)); /* Avoid compiler warning */ if (UTF8_IS_INVARIANT(*s)) { *d++ = *s++; |