From: Rafael Garcia-Suarez Date: Wed, 1 Sep 2004 15:35:20 +0000 (+0000) Subject: Upgrade to Cwd 2.21. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=14815b0ce3491e115785ff3042545a8385a557d2;hp=effb733c2c164cbc7c03be8db41885a0625a84de;p=p5sagit%2Fp5-mst-13.2.git Upgrade to Cwd 2.21. p4raw-id: //depot/perl@23248 --- diff --git a/ext/Cwd/Changes b/ext/Cwd/Changes index 0b7dd1f..644955d 100644 --- a/ext/Cwd/Changes +++ b/ext/Cwd/Changes @@ -1,5 +1,13 @@ Revision history for Perl extension Cwd. +2.21 Tue Aug 31 22:50:14 CDT 2004 + + - Removed "NO_META" from the Makefile.PL, since I'm not building the + distribution with MakeMaker anyway. [Rohan Carly] + + - Only test _perl_abs_path() on platforms where it's expected to work + (platforms with '/' as the directory separator). [Craig A. Berry] + 2.20 Thu Jul 22 08:23:53 CDT 2004 - On some implementations of perl on Win32, a memory leak (or worse?) diff --git a/ext/Cwd/t/cwd.t b/ext/Cwd/t/cwd.t index 2c7d6c5..fecb39f 100644 --- a/ext/Cwd/t/cwd.t +++ b/ext/Cwd/t/cwd.t @@ -18,6 +18,9 @@ use Test::More; my $tests = 24; my $EXTRA_ABSPATH_TESTS = $ENV{PERL_CORE} || $ENV{TEST_PERL_CWD_CODE}; +# _perl_abs_path() currently only works when the directory separator +# is '/', so don't test it when it won't work. +$EXTRA_ABSPATH_TESTS &= $Config{prefix} =~ m/\//; $tests += 3 if $EXTRA_ABSPATH_TESTS; plan tests => $tests; diff --git a/lib/Cwd.pm b/lib/Cwd.pm index dc52b72..a90e944 100644 --- a/lib/Cwd.pm +++ b/lib/Cwd.pm @@ -1,5 +1,5 @@ package Cwd; -$VERSION = $VERSION = '2.20'; +$VERSION = $VERSION = '2.21'; =head1 NAME