diff options
author | Steve Hay <steve.m.hay@googlemail.com> | 2015-06-05 10:39:07 +0100 |
---|---|---|
committer | Steve Hay <steve.m.hay@googlemail.com> | 2015-06-05 10:39:07 +0100 |
commit | 869a96128d21fb7bfc6989e285158f95e53c8971 (patch) | |
tree | 0b79ce7676dc278d515b0a19c5a9027963e5976c /cpan | |
parent | 08226186db93b6e28473c1e069f2ed83a758d33b (diff) | |
download | perl-869a96128d21fb7bfc6989e285158f95e53c8971.tar.gz |
Fix Scalar-List-Utils build on Windows; patch sent upstream
Diffstat (limited to 'cpan')
-rw-r--r-- | cpan/Scalar-List-Utils/ListUtil.xs | 4 | ||||
-rw-r--r-- | cpan/Scalar-List-Utils/lib/List/Util.pm | 2 | ||||
-rw-r--r-- | cpan/Scalar-List-Utils/lib/List/Util/XS.pm | 2 | ||||
-rw-r--r-- | cpan/Scalar-List-Utils/lib/Scalar/Util.pm | 2 | ||||
-rw-r--r-- | cpan/Scalar-List-Utils/lib/Sub/Util.pm | 2 |
5 files changed, 7 insertions, 5 deletions
diff --git a/cpan/Scalar-List-Utils/ListUtil.xs b/cpan/Scalar-List-Utils/ListUtil.xs index a7cd20caab..504c70e8b1 100644 --- a/cpan/Scalar-List-Utils/ListUtil.xs +++ b/cpan/Scalar-List-Utils/ListUtil.xs @@ -529,6 +529,8 @@ PPCODE: for(i = 0; i < items; i++) { SV *pair = args_copy[i]; + AV *pairav; + SvGETMAGIC(pair); if(SvTYPE(pair) != SVt_RV) @@ -537,7 +539,7 @@ PPCODE: croak("Not an ARRAY reference at List::Util::unpack() argument %d", i); // TODO: assert pair is an ARRAY ref - AV *pairav = (AV *)SvRV(pair); + pairav = (AV *)SvRV(pair); EXTEND(SP, 2); diff --git a/cpan/Scalar-List-Utils/lib/List/Util.pm b/cpan/Scalar-List-Utils/lib/List/Util.pm index 735aebb666..701c7842c5 100644 --- a/cpan/Scalar-List-Utils/lib/List/Util.pm +++ b/cpan/Scalar-List-Utils/lib/List/Util.pm @@ -14,7 +14,7 @@ our @EXPORT_OK = qw( all any first min max minstr maxstr none notall product reduce sum sum0 shuffle pairs unpairs pairkeys pairvalues pairmap pairgrep pairfirst ); -our $VERSION = "1.42"; +our $VERSION = "1.42_01"; our $XS_VERSION = $VERSION; $VERSION = eval $VERSION; diff --git a/cpan/Scalar-List-Utils/lib/List/Util/XS.pm b/cpan/Scalar-List-Utils/lib/List/Util/XS.pm index d196ce26fa..e7f25c0c32 100644 --- a/cpan/Scalar-List-Utils/lib/List/Util/XS.pm +++ b/cpan/Scalar-List-Utils/lib/List/Util/XS.pm @@ -2,7 +2,7 @@ package List::Util::XS; use strict; use List::Util; -our $VERSION = "1.42"; # FIXUP +our $VERSION = "1.42_01"; # FIXUP $VERSION = eval $VERSION; # FIXUP 1; diff --git a/cpan/Scalar-List-Utils/lib/Scalar/Util.pm b/cpan/Scalar-List-Utils/lib/Scalar/Util.pm index 8ac705edfe..211c572ecb 100644 --- a/cpan/Scalar-List-Utils/lib/Scalar/Util.pm +++ b/cpan/Scalar-List-Utils/lib/Scalar/Util.pm @@ -16,7 +16,7 @@ our @EXPORT_OK = qw( dualvar isdual isvstring looks_like_number openhandle readonly set_prototype tainted ); -our $VERSION = "1.42"; +our $VERSION = "1.42_01"; $VERSION = eval $VERSION; require List::Util; # List::Util loads the XS diff --git a/cpan/Scalar-List-Utils/lib/Sub/Util.pm b/cpan/Scalar-List-Utils/lib/Sub/Util.pm index a276d952f9..9829903ad8 100644 --- a/cpan/Scalar-List-Utils/lib/Sub/Util.pm +++ b/cpan/Scalar-List-Utils/lib/Sub/Util.pm @@ -15,7 +15,7 @@ our @EXPORT_OK = qw( subname set_subname ); -our $VERSION = "1.42"; +our $VERSION = "1.42_01"; $VERSION = eval $VERSION; require List::Util; # as it has the XS |