From: Daniel Stenberg Date: Tue, 20 Sep 2022 11:52:33 +0000 (+0200) Subject: symbol-scan.pl: also check for LIBCURL* symbols X-Git-Tag: curl-7_86_0~186 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c3feb8e165ed33ca68b198a1b7cf82101e5c14ab;p=thirdparty%2Fcurl.git symbol-scan.pl: also check for LIBCURL* symbols Closes #9544 --- diff --git a/tests/symbol-scan.pl b/tests/symbol-scan.pl index 7d7e5fdbaa..f091b12576 100755 --- a/tests/symbol-scan.pl +++ b/tests/symbol-scan.pl @@ -83,7 +83,7 @@ sub scanheader { my ($f)=@_; open H, "<$f"; while() { - if (/^#define (CURL[A-Za-z0-9_]*)/) { + if (/^#define ((LIB|)CURL[A-Za-z0-9_]*)/) { push @syms, $1; } } @@ -106,7 +106,7 @@ scanallheaders(); open S, "<$root/docs/libcurl/symbols-in-versions"; while() { - if(/(^CURL[^ \n]*) *(.*)/) { + if(/(^[^ \n]*) *(.*)/) { my ($sym, $rest)=($1, $2); if($doc{$sym}) { print "Detected duplicate symbol: $sym\n";