diff options
author | Rich Salz <rsalz@akamai.com> | 2019-10-05 18:14:30 -0400 |
---|---|---|
committer | Tomas Mraz <tmraz@fedoraproject.org> | 2019-12-12 16:55:02 +0100 |
commit | d2b194d78f16493d2eb12bcce285537fcb538bfb (patch) | |
tree | 64aa49d876ec1a20cabe3e33f32ecd2e686e4a66 /util | |
parent | dc7aa029007da3849a04291a4c258587228daac8 (diff) |
Various missing-link fixes
Also, turn missing L<foo(3)> into foo(3)
Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org>
(Merged from https://github.com/openssl/openssl/pull/10104)
Diffstat (limited to 'util')
-rwxr-xr-x | util/find-doc-nits | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/util/find-doc-nits b/util/find-doc-nits index 34eb514a1f..91e232376e 100755 --- a/util/find-doc-nits +++ b/util/find-doc-nits @@ -727,14 +727,13 @@ sub collectnames { map { s/^\s+//g; s/\s+$//g; $_ } # Trim prefix and suffix blanks split(/,/, $tmp); unless ( grep { $simplename eq $_ } @names ) { - err($id, "missing $simplename"); + err($id, "$simplename not in NAME section"); push @names, $simplename; } foreach my $name (@names) { next if $name eq ""; - if ( $name =~ /\s/ ) { - err($id, "'$name' contains white space") - } + err($id, "'$name' contains white space") + if $name =~ /\s/; my $name_sec = "$name($section)"; if ( !exists $name_map{$name_sec} ) { $name_map{$name_sec} = $filename; |