From: Nick Ing-Simmons Date: Tue, 3 Dec 2002 12:51:02 +0000 (+0000) Subject: Avoid eqtime() wiping the file (as suggested by X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=a6bd83f0a15d2730a2e1d4ba3319cc912869b7f3;p=p5sagit%2Fp5-mst-13.2.git Avoid eqtime() wiping the file (as suggested by "Luis G. Uribe C." p4raw-id: //depot/perlio@18240 --- diff --git a/lib/ExtUtils/Command.pm b/lib/ExtUtils/Command.pm index 6593ab3..829de16 100644 --- a/lib/ExtUtils/Command.pm +++ b/lib/ExtUtils/Command.pm @@ -78,7 +78,7 @@ Sets modified time of dst to that of src sub eqtime { my ($src,$dst) = @ARGV; - open(F,">$dst"); + open(F,">>$dst"); close(F); utime((stat($src))[8,9],$dst); }