From 6e809c2c6cf040380177bdfab80087768cc8d056 Mon Sep 17 00:00:00 2001 From: Tom Yu Date: Mon, 5 Feb 2007 23:45:29 +0000 Subject: [PATCH] pull up r19085 from trunk 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util/def-check.pl b/src/util/def-check.pl index b007c9cec..17327df24 100644 --- a/src/util/def-check.pl +++ b/src/util/def-check.pl @@ -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; -- 2.26.2