提交 0223ca09 编写于 作者: R Richard Levitte

Allow for types with leading underscore when checking error macros.

We have an increasing number of function declarations starting with
'__owur'.  Unfortunately, util/ck_errf.pl fails to detect them.  A
simple change fixes that issue.
Reviewed-by: NEmilia Käsper <emilia@openssl.org>
上级 5956b110
...@@ -21,7 +21,7 @@ foreach $file (@ARGV) ...@@ -21,7 +21,7 @@ foreach $file (@ARGV)
$func=""; $func="";
while (<IN>) while (<IN>)
{ {
if (!/;$/ && /^\**([a-zA-Z].*[\s*])?([A-Za-z_0-9]+)\(.*([),]|$)/) if (!/;$/ && /^\**([a-zA-Z_].*[\s*])?([A-Za-z_0-9]+)\(.*([),]|$)/)
{ {
/^([^()]*(\([^()]*\)[^()]*)*)\(/; /^([^()]*(\([^()]*\)[^()]*)*)\(/;
$1 =~ /([A-Za-z_0-9]*)$/; $1 =~ /([A-Za-z_0-9]*)$/;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册