This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0added8
)
Re: Win32::GetShortPathName() does not always return a short name [DOC PATCH]
author
Gisle Aas
<gisle@aas.no>
Mon, 10 Oct 2005 06:20:23 +0000
(23:20 -0700)
committer
Steve Peters
<steve@fisharerojo.org>
Mon, 10 Oct 2005 13:14:50 +0000
(13:14 +0000)
Change to remove a call to Win32::GetShortPathName() from
Test::Harness::Straps.
p4raw-id: //depot/perl@25731
lib/Test/Harness/Straps.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/Test/Harness/Straps.pm
b/lib/Test/Harness/Straps.pm
index
d561ea4
..
dc58a44
100644
(file)
--- a/
lib/Test/Harness/Straps.pm
+++ b/
lib/Test/Harness/Straps.pm
@@
-358,7
+358,7
@@
sub _command {
my $self = shift;
return $ENV{HARNESS_PERL} if defined $ENV{HARNESS_PERL};
- return
Win32::GetShortPathName($^X) if $self->{_is_win32}
;
+ return
qq("$^X") if $self->{_is_win32} && $^X =~ /[^\w\.\/\\]/
;
return $^X;
}