]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
Fix make errors
authorMatt Caswell <matt@openssl.org>
Wed, 14 Jan 2015 21:26:14 +0000 (21:26 +0000)
committerMatt Caswell <matt@openssl.org>
Thu, 22 Jan 2015 09:50:03 +0000 (09:50 +0000)
Reviewed-by: Tim Hudson <tjh@openssl.org>
util/ck_errf.pl
util/mkerr.pl

index 344b422c3403654cb953c3eb037b1b3f1f43ea84..24c4ca1ed335313157a7d0f109b4d7ccf4393257 100755 (executable)
@@ -13,7 +13,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]*)$/;
index 8769e1dbc607edf21d312361bd05ec282ef02d2a..768f0dfda67e9fb59b04a0033488a398c0b156fe 100644 (file)
@@ -180,7 +180,7 @@ while (($hdr, $lib) = each %libinc)
 
        if ($gotfile) {
          while(<IN>) {
-               if(/^\#define\s+(\S+)\s+(\S+)/) {
+               if(/^\#\s*define\s+(\S+)\s+(\S+)/) {
                        $name = $1;
                        $code = $2;
                        next if $name =~ /^${lib}err/;