]> git.pld-linux.org Git - packages/perl.git/blame - perl-ExtUtils-MakeMaker-write-permissions.patch
- from ftp://ftp.cpan.org/pub/CPAN/authors/id/N/NW/NWCLARK/regexp-5.8.8.patch
[packages/perl.git] / perl-ExtUtils-MakeMaker-write-permissions.patch
CommitLineData
a0471c37 1--- ExtUtils-MakeMaker-6.32/inc/ExtUtils/Install.pm~ 2007-05-08 18:19:32.000000000 +0200
2+++ ExtUtils-MakeMaker-6.32/inc/ExtUtils/Install.pm 2007-05-08 18:22:09.376990824 +0200
3@@ -652,7 +652,7 @@
22cc155b 4 utime($atime,$mtime + $Is_VMS,$targetfile) unless $nonono>1;
a0471c37 5
6
7- $mode = 0444 | ( $mode & 0111 ? 0111 : 0 );
8+ $mode = 0644 | ( $mode & 0111 ? 0111 : 0 );
9 $mode = $mode | 0222
10 if $realtarget ne $targetfile;
11 _chmod( $mode, $targetfile, $verbose );
12@@ -1013,7 +1013,7 @@
22cc155b 13 }
14 my($mode,$atime,$mtime) = (stat $from)[2,8,9];
15 utime($atime,$mtime+$Is_VMS,$to);
a0471c37 16- _chmod(0444 | ( $mode & 0111 ? 0111 : 0 ),$to);
17+ _chmod(0644 | ( $mode & 0111 ? 0111 : 0 ),$to);
22cc155b 18 next unless $from =~ /\.pm$/;
19 _autosplit($to,$autodir);
20 }
This page took 0.043832 seconds and 4 git commands to generate.