From 636cdfa52826c133f89802fd4f8d0dabbec733b9 Mon Sep 17 00:00:00 2001 From: Jarkko Hietaniemi Date: Mon, 13 Jan 2003 01:31:01 +0000 Subject: [PATCH] Integrate perlio to mainline: [ 18240] Avoid eqtime() wiping the file (as suggested by "Luis G. Uribe C." p4raw-link: @18240 on //depot/perlio: a6bd83f0a15d2730a2e1d4ba3319cc912869b7f3 p4raw-id: //depot/perl@18472 p4raw-integrated: from //depot/perlio@18468 'copy in' lib/ExtUtils/Command.pm (@17257..) --- lib/ExtUtils/Command.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } -- 2.7.4