From 216a2a5fc656378e522d92b564fc5c6f8af55285 Mon Sep 17 00:00:00 2001 From: Andy Polyakov Date: Tue, 13 Mar 2012 19:19:57 +0000 Subject: [PATCH] x86_64-xlate.pl: remove old kludge. PR: 2435,2440 --- crypto/perlasm/x86_64-xlate.pl | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/crypto/perlasm/x86_64-xlate.pl b/crypto/perlasm/x86_64-xlate.pl index 674da3b7e6..544fa93e82 100755 --- a/crypto/perlasm/x86_64-xlate.pl +++ b/crypto/perlasm/x86_64-xlate.pl @@ -62,12 +62,8 @@ my $flavour = shift; my $output = shift; if ($flavour =~ /\./) { $output = $flavour; undef $flavour; } -{ my ($stddev,$stdino,@junk)=stat(STDOUT); - my ($outdev,$outino,@junk)=stat($output); - - open STDOUT,">$output" || die "can't open $output: $!" - if ($stddev!=$outdev || $stdino!=$outino); -} +open STDOUT,">$output" || die "can't open $output: $!" + if (defined($output)); my $gas=1; $gas=0 if ($output =~ /\.asm$/); my $elf=1; $elf=0 if (!$gas); -- 2.25.1