pull up r19085 from trunk
authorTom Yu <tlyu@mit.edu>
Mon, 5 Feb 2007 23:45:29 +0000 (23:45 +0000)
committerTom Yu <tlyu@mit.edu>
Mon, 5 Feb 2007 23:45:29 +0000 (23:45 +0000)
This is needed to deal with changes to the def-check run required by
the API changes.

 r19085@cathode-dark-space:  raeburn | 2007-01-20 07:13:15 -0500
 Handle function names immediately preceded by "*", like "*strdup"
 in k5-int.h+krb5.h.

ticket: 5420

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-6@19150 dc483132-0cff-0310-8789-dd5450dbe970

src/util/def-check.pl

index b007c9cecd963c637fcb898cb8d8b20015f80c2f..17327df245f6279cc13c72010e41bdc06df2198f 100644 (file)
@@ -165,7 +165,7 @@ while (! $h->eof()) {
        goto Hadcallc;
     }
     # deal with no CALLCONV indicator
-    s/^.* (\w+) *$/$1/;
+    s/^.* \**(\w+) *$/$1/;
     die "Invalid function name: '$_'" if (!/^[A-Za-z0-9_]+$/);
     push @convD, $_;
     push @vararg, $_ if $vararg;