On Thu, Feb 27, 2003 at 04:33:39AM -0500, Barrie Slaymaker wrote:
> Here's another minor patchlet that should be more appropriate; it skips
> running File::Compare::compare() on each source and destination when the
> mtimes are identical; pm_to_blib() tries to force identical mtimes on
> all but VMS.
MakeMaker has drifted significantly from what's in the core. You can find
the latest snapshots on www.makemaker.org. Patches go to [EMAIL PROTECTED]
I'm not sure I understand the logic of the patch below. Why is it comparing
the size of the file?
> This both reduces scrollback in the terminal (nice on smaller screens)
> and speeds things up.
>
> - Barrie
>
> --- ExtUtils/Install.pm.orig 2003-02-27 03:47:48.000000000 -0500
> +++ ExtUtils/Install.pm 2003-02-27 04:29:13.000000000 -0500
> @@ -299,7 +299,7 @@
> mkpath($autodir,0,0755);
> foreach (keys %$fromto) {
> my $dest = $fromto->{$_};
> - next if -f $dest && -M $dest < -M $_;
> + next if -f $dest && -M $dest <= -M $_ && -s $dest == -s $_;
>
> # When a pm_filter is defined, we need to pre-process the source first
> # to determine whether it has changed or not. Therefore, only perform
>
>
--