This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Fixes for fixes
authorChris Nandor <pudge@pobox.com>
Thu, 30 May 2002 11:48:05 +0000 (11:48 +0000)
committerChris Nandor <pudge@pobox.com>
Thu, 30 May 2002 11:48:05 +0000 (11:48 +0000)
p4raw-id: //depot/macperl@16875

ext/Cwd/t/cwd.t
ext/Digest/MD5/t/files.t
lib/blib.t
t/lib/warnings/op

index 0a43c91..e035d28 100644 (file)
@@ -128,7 +128,7 @@ SKIP: {
 
     my $abs_path      =  Cwd::abs_path("linktest");
     my $fast_abs_path =  Cwd::fast_abs_path("linktest");
-    my $want          =  File::Spec->catdir("t", $Test_Dir) if $IsMacOS;
+    my $want          =  File::Spec->catdir("t", $Test_Dir);
 
     like($abs_path,      qr|$want$|);
     like($fast_abs_path, qr|$want$|);
index 0e89dcb..650121f 100644 (file)
@@ -30,7 +30,7 @@ b362148b17a451f0d81e0ebb2487756e  Changes
 4850753428db9422e8e5f97b401d5a13  MD5.xs
 276da0aa4e9a08b7fe09430c9c5690aa  rfc1321.txt
 EOT
-} elsif ("\n" == "\015") { # MacOS
+} elsif ("\n" eq "\015") { # MacOS
     $EXPECT = <<EOT;
 cc90a85f89b397341f97c9279640fbf5  Changes
 127952946201e6afc19eb41250c56871  README
index 6828f8b..4871f91 100644 (file)
@@ -24,6 +24,7 @@ sub _mkdirs {
 BEGIN {
     if ($^O eq 'MacOS')
     {
+       $MacPerl::Architecture = $MacPerl::Architecture; # shhhhh
        $blib = ":blib:";
        $blib_lib = ":blib:lib:";
        $blib_arch = ":blib:lib:$MacPerl::Architecture:";
index 16e1fd9..011fd17 100644 (file)
@@ -822,7 +822,7 @@ use warnings 'syntax' ;
 exec "$^X -e 1" ; 
 my $a
 EXPECT
-Statement unlikely to be reached at - line 4.
+Statement unlikely to be reached at - line 13.
        (Maybe you meant system() when you said exec()?)
 ########
 # op.c