From: Steve Peters Date: Sat, 26 Nov 2005 12:04:00 +0000 (+0000) Subject: Upgrade to Scalar-List-Utils-1.18 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=aee45414e5cecf8c3d4788d764cc010fc54d3dad;p=p5sagit%2Fp5-mst-13.2.git Upgrade to Scalar-List-Utils-1.18 p4raw-id: //depot/perl@26212 --- diff --git a/MANIFEST b/MANIFEST index f677b9f..4612cda 100644 --- a/MANIFEST +++ b/MANIFEST @@ -708,6 +708,7 @@ ext/List/Util/lib/Scalar/Util.pm Scalar::Util ext/List/Util/Makefile.PL Util extension ext/List/Util/multicall.h Util extension ext/List/Util/README Util extension +ext/List/Util/t/00version.t Scalar::Util ext/List/Util/t/blessed.t Scalar::Util ext/List/Util/t/dualvar.t Scalar::Util ext/List/Util/t/first.t List::Util diff --git a/ext/List/Util/Changes b/ext/List/Util/Changes index 4fbdc8b..65e93e4 100644 --- a/ext/List/Util/Changes +++ b/ext/List/Util/Changes @@ -1,3 +1,15 @@ +1.18 -- Fri Nov 25 09:30:29 CST 2005 + +Bug Fixes + * Fix pure-perl version of refaddr to avoid blessing an un-blessed reference + * Fix memory leak in first() and reduce() + * Pure perl version of looks_like_number now matches XS version for + references and undef. It will now return undef + +Enhancements + * Support for using XSLoader instead of DynaLoader + * Use new multicall API + 1.17 -- Mon May 23 08:55:26 CDT 2005 Bug Fixes diff --git a/ext/List/Util/t/00version.t b/ext/List/Util/t/00version.t new file mode 100644 index 0000000..fad6e0f --- /dev/null +++ b/ext/List/Util/t/00version.t @@ -0,0 +1,22 @@ +#!./perl + +BEGIN { + unless (-d 'blib') { + chdir 't' if -d 't'; + @INC = '../lib'; + require Config; import Config; + keys %Config; # Silence warning + if ($Config{extensions} !~ /\bList\/Util\b/) { + print "1..0 # Skip: List::Util was not built\n"; + exit 0; + } + } +} + +use Scalar::Util (); +use List::Util (); +use Test::More tests => 1; + +is( $Scalar::Util::VERSION, $List::Util::VERSION, "VERSION mismatch"); + +