From: Matt Caswell Date: Tue, 2 Sep 2025 14:37:53 +0000 (+0100) Subject: Fix the doc-nits history check X-Git-Tag: 4.0-PRE-CLANG-FORMAT-WEBKIT~570 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bc7db5e38e46209a6167c14552338e860b1c5d28;p=thirdparty%2Fopenssl.git Fix the doc-nits history check Fix the script now that we are at version 4.0 Reviewed-by: Tim Hudson Reviewed-by: Tomas Mraz (Merged from https://github.com/openssl/openssl/pull/28423) --- diff --git a/util/find-doc-nits b/util/find-doc-nits index b23d68f861a..f1805f3bf01 100755 --- a/util/find-doc-nits +++ b/util/find-doc-nits @@ -57,7 +57,7 @@ Find small errors (nits) in documentation. Options: -m Name(s) of manuals to focus on. Default: man1,man3,man5,man7 -n Print nits in POD pages -o Causes -e/-v to count symbols added since 1.1.1 as new (implies -v) - -i Checks for history entries available for symbols added since 3.0.0 as new + -i Checks for history entries available for symbols added since 4.0.0 as new -u Count undocumented functions -v Count new undocumented functions EOF @@ -943,7 +943,7 @@ my %name_map = (); # Any of these values except 'public' may be prefixed with 'missing_' # to indicate that they are known to be missing. my %state; -# history contains the same as state above for entries with version info != 3_0_0 +# history contains the same as state above for entries with version info != 4_0_0 my %history; # %missing is affected by loading util/missing*.txt. Values may be one of: # 'crypto' : belongs in libcrypto (loaded from libcrypto.num) @@ -974,7 +974,7 @@ sub loadnum ($;$) { my @fields = split(); if ($type && ($type eq "crypto" || $type eq "ssl")) { # 3rd field is version - if (not $fields[2] eq "3_0_0") { + if (not $fields[2] eq "4_0_0") { $history{$fields[0].'(3)'} = $type.$fields[2]; } }