From: Michael Adam Date: Fri, 11 Sep 2009 12:54:30 +0000 (+0200) Subject: talloc:mksyms: allow characters after closing functions parenthesis. X-Git-Tag: talloc-2.0.1~523^2~21 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e60c775835e45cc912660ec253521a9d7f07874c;p=thirdparty%2Fsamba.git talloc:mksyms: allow characters after closing functions parenthesis. Michael --- diff --git a/lib/talloc/script/mksyms.awk b/lib/talloc/script/mksyms.awk index 0d80d9f70b7..ca14da0f217 100644 --- a/lib/talloc/script/mksyms.awk +++ b/lib/talloc/script/mksyms.awk @@ -28,7 +28,7 @@ END { current_file=FILENAME } if (inheader) { - if (match($0,"[)][ \t]*[;][ \t]*$")) { + if (match($0,"[)][^()]*[;][ \t]*$")) { inheader = 0; } next; @@ -57,7 +57,7 @@ END { } } -/[_A-Za-z0-9]+[ \t]*[(].*[)][ \t]*;[ \t]*$/ { +/[_A-Za-z0-9]+[ \t]*[(].*[)][^()]*;[ \t]*$/ { sub(/[(].*$/, ""); gsub(/[^ \t]+[ \t]+/, ""); gsub(/^[*]+/, "");