diff options
author | David Benjamin <davidben@google.com> | 2020-02-17 03:17:53 +0100 |
---|---|---|
committer | Pauli <paul.dale@oracle.com> | 2020-02-17 03:17:53 +0100 |
commit | a21314dbbc56cd30580123d74b3106a628540965 (patch) | |
tree | 18e881206ce27d0121ae9da0530ea76a2856bfe2 /crypto/perlasm/arm-xlate.pl | |
parent | Add $debug variable and use it (diff) | |
download | openssl-a21314dbbc56cd30580123d74b3106a628540965.tar.xz openssl-a21314dbbc56cd30580123d74b3106a628540965.zip |
Also check for errors in x86_64-xlate.pl.
In https://github.com/openssl/openssl/pull/10883, I'd meant to exclude
the perlasm drivers since they aren't opening pipes and do not
particularly need it, but I only noticed x86_64-xlate.pl, so
arm-xlate.pl and ppc-xlate.pl got the change.
That seems to have been fine, so be consistent and also apply the change
to x86_64-xlate.pl. Checking for errors is generally a good idea.
Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: David Benjamin <davidben@google.com>
(Merged from https://github.com/openssl/openssl/pull/10930)
Diffstat (limited to 'crypto/perlasm/arm-xlate.pl')
-rwxr-xr-x | crypto/perlasm/arm-xlate.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/perlasm/arm-xlate.pl b/crypto/perlasm/arm-xlate.pl index bee0523fef..b7ee99ee94 100755 --- a/crypto/perlasm/arm-xlate.pl +++ b/crypto/perlasm/arm-xlate.pl @@ -191,4 +191,4 @@ while(my $line=<>) { print "\n"; } -close STDOUT or die "error closing STDOUT"; +close STDOUT or die "error closing STDOUT: $!"; |