summaryrefslogtreecommitdiff
path: root/lib/tdb/script
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2009-09-11 14:54:02 +0200
committerMichael Adam <obnox@samba.org>2009-09-11 15:31:29 +0200
commit907e05595fdcc4ef77ad627bc0f3732faa59de68 (patch)
tree5ffc18d35f004ff93dcf0e87ebc3babe1cb37f59 /lib/tdb/script
parent6b9298191a72c20e0e81298d06871181dd3b7826 (diff)
downloadsamba-907e05595fdcc4ef77ad627bc0f3732faa59de68.tar.gz
samba-907e05595fdcc4ef77ad627bc0f3732faa59de68.tar.bz2
samba-907e05595fdcc4ef77ad627bc0f3732faa59de68.zip
tdb:mksyms: allow double pointer return value of functions.
Michael
Diffstat (limited to 'lib/tdb/script')
-rw-r--r--lib/tdb/script/mksyms.awk2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/tdb/script/mksyms.awk b/lib/tdb/script/mksyms.awk
index a30bea4d34..0d80d9f70b 100644
--- a/lib/tdb/script/mksyms.awk
+++ b/lib/tdb/script/mksyms.awk
@@ -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;
}