Skip Menu |

This queue is for tickets about the PAR CPAN distribution.

Report information
The Basics
Id: 16743
Status: resolved
Priority: 0/
Queue: PAR

People
Owner: smueller [...] cpan.org
Requestors: rurban [...] x-ray.at
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.90
Fixed in: (no value)



Subject: fix cygwin t/2-pp.t
See attached patch t/2-pp.t: do not use GetShortPathName on cygwin, only for Win32 paths
2005-12-27 14:35:43 rurban@cpan.org * t/2-pp.t: do not use GetShortPathName on cygwin, only for Win32 paths --- PAR-0.90/t/2-pp.t.orig 2005-09-22 16:06:01.000000000 +0200 +++ PAR-0.90/t/2-pp.t 2005-12-27 14:12:46.146250000 +0100 @@ -50,7 +50,7 @@ exit; } -if (defined &Win32::GetShortPathName) { +if (defined &Win32::GetShortPathName and $^X =~ m/^[a-z]:/i) { $^X = lc(Win32::GetShortPathName($^X)); $startperl = lc(Win32::GetShortPathName($startperl)); }
On Di. 27. Dez. 2005, 08:39:12, RURBAN wrote: Show quoted text
> See attached patch > > t/2-pp.t: do not use GetShortPathName on cygwin, only for Win32 paths
Hi, the following patch went into 0.91 (or 0.92, I forgot). Does that solve the problem? http://rt.openfoundry.org/Foundry/Project/Source/index.html/par/diff/trunk/t/2-pp.t?rev1=6&rev2=43 Steffen