summaryrefslogtreecommitdiff
path: root/ext/Cwd
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@gmail.com>2005-05-06 15:37:30 +0000
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2005-05-06 15:37:30 +0000
commit605986241de3d828e4de2beec37dc9ecc5aaa260 (patch)
tree4e4c7758c4d45004e25d2c72a576e251302cd58b /ext/Cwd
parent86d86cadad68b71393e3371f0e467c29982578f9 (diff)
downloadperl-605986241de3d828e4de2beec37dc9ecc5aaa260.tar.gz
Upgrade to PathTools 3.07
p4raw-id: //depot/perl@24407
Diffstat (limited to 'ext/Cwd')
-rw-r--r--ext/Cwd/Changes25
-rw-r--r--ext/Cwd/t/taint.t5
2 files changed, 29 insertions, 1 deletions
diff --git a/ext/Cwd/Changes b/ext/Cwd/Changes
index 14f3958770..91082438f0 100644
--- a/ext/Cwd/Changes
+++ b/ext/Cwd/Changes
@@ -1,5 +1,30 @@
Revision history for Perl distribution PathTools.
+3.07 Fri May 6 07:46:45 CDT 2005
+
+ - Fixed a bug in which the special perl variable $^O would become
+ tainted under certain versions of perl. [Michael Schwern]
+
+ - File::Spec->rootdir() was returning / on Win32. Now it returns \ .
+ [Michael Schwern]
+
+ - We now avoid modifying @_ in tmpdir() when it's not strictly
+ necessary, which reportedly provides a modest performance
+ boost. [Richard Soderberg]
+
+ - Made a couple of slight changes to the Win32 code so that it works
+ (or works better) on Symbian OS phones. [Jarkko Hietaniemi]
+
+3.06 Wed Apr 13 20:47:26 CDT 2005
+
+ (No changes in functionality)
+
+ - Added a note to the canonpath() docs about why it doesn't collapse
+ foo/../bar sections.
+
+ - The internal-only function bsd_realpath() in the XS file now uses
+ normal arg syntax instead of K&R syntax. [Nicholas Clark]
+
3.05 Mon Feb 28 07:22:58 CST 2005
- Fixed a bug in fast_abs_path() on Win32 in which forward- and
diff --git a/ext/Cwd/t/taint.t b/ext/Cwd/t/taint.t
index 86a92ba3d1..c92dbe3eb1 100644
--- a/ext/Cwd/t/taint.t
+++ b/ext/Cwd/t/taint.t
@@ -14,7 +14,7 @@ chdir 't';
use File::Spec;
use lib File::Spec->catdir('t', 'lib');
-use Test::More tests => 16;
+use Test::More tests => 17;
use Scalar::Util qw/tainted/;
@@ -30,3 +30,6 @@ foreach my $func (@Functions) {
is( $@, '', "$func() should not explode under taint mode" );
ok( tainted($cwd), "its return value should be tainted" );
}
+
+# Previous versions of Cwd tainted $^O
+is !tainted($^O), 1, "\$^O should not be tainted";