summaryrefslogtreecommitdiff
path: root/ext/Cwd
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@gmail.com>2004-09-01 15:35:20 +0000
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2004-09-01 15:35:20 +0000
commit14815b0ce3491e115785ff3042545a8385a557d2 (patch)
treecc43db2873c8add7d607f83d0f9210005534a32b /ext/Cwd
parenteffb733c2c164cbc7c03be8db41885a0625a84de (diff)
downloadperl-14815b0ce3491e115785ff3042545a8385a557d2.tar.gz
Upgrade to Cwd 2.21.
p4raw-id: //depot/perl@23248
Diffstat (limited to 'ext/Cwd')
-rw-r--r--ext/Cwd/Changes8
-rw-r--r--ext/Cwd/t/cwd.t3
2 files changed, 11 insertions, 0 deletions
diff --git a/ext/Cwd/Changes b/ext/Cwd/Changes
index 0b7dd1fbbb..644955d3cb 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 2c7d6c5598..fecb39f7e7 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;