talloc:mksyms: allow double pointer return value of functions.
authorMichael Adam <obnox@samba.org>
Fri, 11 Sep 2009 12:54:02 +0000 (14:54 +0200)
committerMichael Adam <obnox@samba.org>
Fri, 11 Sep 2009 13:39:52 +0000 (15:39 +0200)
Michael

source3/script/mksyms.awk

index 846a283fe1965146b94bf2bc863395bcd4e37783..ab28d5a51cf9babef93faca672283a21fe5faadd 100644 (file)
@@ -60,7 +60,7 @@ END {
 /[_A-Za-z0-9]+[ \t]*[(].*[)][ \t]*;[ \t]*$/ {
        sub(/[(].*$/, "");
        gsub(/[^ \t]+[ \t]+/, "");
-       gsub(/^[*]/, "");
+       gsub(/^[*]+/, "");
        printf "\t\t%s;\n",$0;
        next;
 }