From: Gurusamy Sarathy Date: Mon, 10 May 1999 02:39:33 +0000 (+0000) Subject: more bulletproof workaround for mangled paths (updates changes#3345,3350); X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=8ac9c18d0290aa1420a64753c37ce5c0f1523967;p=p5sagit%2Fp5-mst-13.2.git more bulletproof workaround for mangled paths (updates changes#3345,3350); provide Win32::GetLongPathName() to complement Win32::GetShortPathName() p4raw-link: @3350 on //depot/perl: b5ce6607ab4b332cfeb9911174599b4208a0bc29 p4raw-link: @3345 on //depot/perl: 95140b9803ddf95b050f1d52936f19393a6b541c p4raw-id: //depot/perl@3353 --- diff --git a/t/op/magic.t b/t/op/magic.t index 9b819a8..8486512 100755 --- a/t/op/magic.t +++ b/t/op/magic.t @@ -120,8 +120,9 @@ ok 18, $$ > 0, $$; $script = "$wd/show-shebang"; if ($Is_MSWin32) { chomp($wd = `cd`); - $perl = "$wd\\perl.exe"; - $script = "$wd\\show-shebang.bat"; + $wd =~ s|\\|/|g; + $perl = "$wd/perl.exe"; + $script = "$wd/show-shebang.bat"; $headmaybe = <