diff options
author | Richard Levitte <levitte@openssl.org> | 2016-08-31 19:47:35 +0200 |
---|---|---|
committer | Richard Levitte <richard@levitte.org> | 2016-08-31 20:44:16 +0200 |
commit | 3c8be9c35068a283a70054ded86de7495e2e0877 (patch) | |
tree | e2fa1b1fe250391fd719f6a8084ffd6c30be73e2 /Configure | |
parent | 67d81419f53660ffd166c785803dea7804c76e72 (diff) |
Have Configure's HASH or TABLE produce complete lists
Because some targets execute perl code that might die, we risk
incomplete lists. Make it so dying doesn't happen when we're listing
targets.
Reviewed-by: Rich Salz <rsalz@openssl.org>
(cherry picked from commit d63c12c697faa4e2fa0e5d7565521a5813c86415)
Diffstat (limited to 'Configure')
-rwxr-xr-x | Configure | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -788,7 +788,9 @@ while (@tocheckfor) { @tocheckfor = (keys %new_tocheckfor); } +our $die = sub { die @_; }; if ($target eq "TABLE") { + local $die = sub { warn @_; }; foreach (sort keys %table) { print_table_entry($_, "TABLE"); } @@ -803,6 +805,7 @@ if ($target eq "LIST") { } if ($target eq "HASH") { + local $die = sub { warn @_; }; print "%table = (\n"; foreach (sort keys %table) { print_table_entry($_, "HASH"); |