From: Rich Salz Date: Mon, 3 Apr 2017 19:29:56 +0000 (-0400) Subject: Check for L X-Git-Tag: OpenSSL_1_1_1-pre1~1835 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=5a3371e22164592d7ff6d69245768ed4dde89a1a;p=oweals%2Fopenssl.git Check for L Reviewed-by: Richard Levitte (Merged from https://github.com/openssl/openssl/pull/3117) --- diff --git a/util/find-doc-nits b/util/find-doc-nits index f14e36ed4a..ff2409110a 100755 --- a/util/find-doc-nits +++ b/util/find-doc-nits @@ -160,6 +160,8 @@ sub check() if $contents =~ /=head1 NAME.*\.\n.*=head1 SYNOPSIS/ms; print "$id POD markup in NAME section\n" if $contents =~ /=head1 NAME.*[<>].*=head1 SYNOPSIS/ms; + print "$id Duplicate $1 in L<>\n" + if $contents =~ /L<([^>]*)\|([^>]*)>/ && $1 eq $2; # Look for multiple consecutive openssl #include lines. # Consecutive because of files like md5.pod. Sometimes it's okay