add verbose stack display option, -Dvs
[p5sagit/p5-mst-13.2.git] / installperl
index ab59652..8ccd959 100755 (executable)
@@ -258,7 +258,7 @@ if (($Is_W32 and ! $Is_NetWare)  or $Is_Cygwin) {
       chmod(0755, "$installbin/ld2");
     };
   } else {
-    $perldll = 'perl58.' . $dlext;
+    $perldll = 'perl59.' . $dlext;
   }
 
   if ($dlsrc ne "dl_none.xs") {
@@ -390,7 +390,10 @@ foreach my $file (@corefiles) {
 # modules if so needed.
 if ($Config{use5005threads}) {
     for my $m (qw(Queue Semaphore)) {
-        copy("ext/Thread/$m.pmx", "$installprivlib/Thread/$m.pm")
+        my $t = "$installprivlib/Thread/$m.pm";
+        unlink $t;
+        copy("ext/Thread/$m.pmx", $t);
+        chmod(0444, $t);
     }
 }