On 3/9/2012 1:45 PM, William A. Rowe Jr. wrote:
> http://rt.openssl.org/Ticket/Display.html?id=2435&user=guest&pass=guest
> http://rt.openssl.org/Ticket/Display.html?id=2440&user=guest&pass=guest
Simpler is usually better... what specific behavior is the deleted code
below trying to accomplish? Is there something more needed here, and does
that need to be done in the currently contorted fashion?
Index: crypto/perlasm/x86_64-xlate.pl
===================================================================
--- crypto/perlasm/x86_64-xlate.pl (revision 6904)
+++ crypto/perlasm/x86_64-xlate.pl (working copy)
@@ -62,13 +62,9 @@
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 (defined($output));
- open STDOUT,">$output" || die "can't open $output: $!"
- if ($stddev!=$outdev || $stdino!=$outino);
-}
-
my $gas=1; $gas=0 if ($output =~ /\.asm$/);
my $elf=1; $elf=0 if (!$gas);
my $win64=0;
______________________________________________________________________
OpenSSL Project http://www.openssl.org
Development Mailing List [email protected]
Automated List Manager [email protected]