From: Richard Levitte Date: Mon, 4 Nov 2019 09:36:54 +0000 (+0100) Subject: util/mknum.pl: output stats on unassigned symbols X-Git-Tag: openssl-3.0.0-alpha1~1013 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=b6fc6620cff7e5971757ad1c50edd022fdaffc04;p=oweals%2Fopenssl.git util/mknum.pl: output stats on unassigned symbols Reviewed-by: Matt Caswell Reviewed-by: Paul Dale (Merged from https://github.com/openssl/openssl/pull/10348) --- diff --git a/util/mknum.pl b/util/mknum.pl index bf73797c3f..871c07055b 100644 --- a/util/mknum.pl +++ b/util/mknum.pl @@ -128,5 +128,9 @@ if ($checkexist) { } else { print STDERR "${ordinals_file}: No new symbols added\n"; } - + if ($stats{unassigned}) { + my $symbol = $stats{unassigned} == 1 ? "symbol" : "symbols"; + my $is = $stats{unassigned} == 1 ? "is" : "are"; + print STDERR "${ordinals_file}: $stats{unassigned} $symbol $is without ordinal number\n"; + } }