Skip to content

Commit 14733d8

Browse files
committed
dist/PathTools - fix possible VMS breakage
In #19645 I added a fix for empty paths under taint mode. This fix may have changed VMS behavior, which this patch should fix.
1 parent 4d21c02 commit 14733d8

File tree

12 files changed

+16
-11
lines changed

12 files changed

+16
-11
lines changed

dist/PathTools/Changes

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
Revision history for Perl distribution PathTools.
22

3+
3.87-3.88
4+
5+
- Fix handling of empty path, VMS fixes.
6+
37
3.86
48

59
- Fix compilation warning on illumos based platforms

dist/PathTools/Cwd.pm

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ use strict;
33
use Exporter;
44

55

6-
our $VERSION = '3.86';
6+
our $VERSION = '3.88';
77
my $xs_version = $VERSION;
88
$VERSION =~ tr/_//d;
99

@@ -200,6 +200,7 @@ sub _backtick_pwd {
200200
# anything absolute. Perhaps "/" would be better.
201201
local $ENV{PATH}= "/usr/bin"
202202
if $^O ne "vms" and $^O ne "amigaos";
203+
local $ENV{PATH} if $^O eq "vms";
203204

204205
my $cwd = `$pwd_cmd`;
205206
# Belt-and-suspenders in case someone said "undef $/".

dist/PathTools/lib/File/Spec.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ package File::Spec;
22

33
use strict;
44

5-
our $VERSION = '3.87';
5+
our $VERSION = '3.88';
66
$VERSION =~ tr/_//d;
77

88
my %module = (

dist/PathTools/lib/File/Spec/AmigaOS.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package File::Spec::AmigaOS;
33
use strict;
44
require File::Spec::Unix;
55

6-
our $VERSION = '3.86';
6+
our $VERSION = '3.88';
77
$VERSION =~ tr/_//d;
88

99
our @ISA = qw(File::Spec::Unix);

dist/PathTools/lib/File/Spec/Cygwin.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package File::Spec::Cygwin;
33
use strict;
44
require File::Spec::Unix;
55

6-
our $VERSION = '3.86';
6+
our $VERSION = '3.88';
77
$VERSION =~ tr/_//d;
88

99
our @ISA = qw(File::Spec::Unix);

dist/PathTools/lib/File/Spec/Epoc.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ package File::Spec::Epoc;
22

33
use strict;
44

5-
our $VERSION = '3.86';
5+
our $VERSION = '3.88';
66
$VERSION =~ tr/_//d;
77

88
require File::Spec::Unix;

dist/PathTools/lib/File/Spec/Functions.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package File::Spec::Functions;
33
use File::Spec;
44
use strict;
55

6-
our $VERSION = '3.86';
6+
our $VERSION = '3.88';
77
$VERSION =~ tr/_//d;
88

99
require Exporter;

dist/PathTools/lib/File/Spec/Mac.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ use strict;
44
use Cwd ();
55
require File::Spec::Unix;
66

7-
our $VERSION = '3.86';
7+
our $VERSION = '3.88';
88
$VERSION =~ tr/_//d;
99

1010
our @ISA = qw(File::Spec::Unix);

dist/PathTools/lib/File/Spec/OS2.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ use strict;
44
use Cwd ();
55
require File::Spec::Unix;
66

7-
our $VERSION = '3.86';
7+
our $VERSION = '3.88';
88
$VERSION =~ tr/_//d;
99

1010
our @ISA = qw(File::Spec::Unix);

dist/PathTools/lib/File/Spec/Unix.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package File::Spec::Unix;
33
use strict;
44
use Cwd ();
55

6-
our $VERSION = '3.86';
6+
our $VERSION = '3.88';
77
$VERSION =~ tr/_//d;
88

99
=head1 NAME

0 commit comments

Comments
 (0)