From b6fc6620cff7e5971757ad1c50edd022fdaffc04 Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Mon, 4 Nov 2019 10:36:54 +0100 Subject: [PATCH] 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) --- util/mknum.pl | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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"; + } } -- 2.25.1