[openssl-commits] [openssl] master update
Richard Levitte
levitte at openssl.org
Tue Apr 28 12:43:05 UTC 2015
The branch master has been updated
via 0223ca0987aa8c3b0c4adc084c1f03a5e4e32288 (commit)
from 5956b110e3d6137be07e52b1b3ea483a991ab84f (commit)
- Log -----------------------------------------------------------------
commit 0223ca0987aa8c3b0c4adc084c1f03a5e4e32288
Author: Richard Levitte <levitte at openssl.org>
Date: Tue Apr 28 14:34:58 2015 +0200
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: Emilia Käsper <emilia at openssl.org>
-----------------------------------------------------------------------
Summary of changes:
util/ck_errf.pl | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/util/ck_errf.pl b/util/ck_errf.pl
index 1a8665a..922e5f6 100755
--- a/util/ck_errf.pl
+++ b/util/ck_errf.pl
@@ -21,7 +21,7 @@ foreach $file (@ARGV)
$func="";
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]*)$/;
More information about the openssl-commits
mailing list