>> 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?
Correct question is not what stat-ing *is* trying to accomplish, but what it *was* trying to accomplish. It *was* required at some point to compile x86_64cpuid.pl, but it shouldn't be anymore... I'll cross-check and remove it this weekend. > 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 openssl-dev@openssl.org Automated List Manager majord...@openssl.org