From b2ae61ecf2f49136d891d8b225a329379058c9d1 Mon Sep 17 00:00:00 2001 From: Andy Polyakov Date: Tue, 13 Mar 2012 19:19:08 +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 1492e1c2e7..56d9b64b6f 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