git.samba.org
/
amitay
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ee1fe38
)
talloc:mksyms: allow characters after closing functions parenthesis.
author
Michael Adam
<obnox@samba.org>
Fri, 11 Sep 2009 12:54:30 +0000
(14:54 +0200)
committer
Michael Adam
<obnox@samba.org>
Fri, 11 Sep 2009 13:39:53 +0000
(15:39 +0200)
Michael
source3/script/mksyms.awk
patch
|
blob
|
history
diff --git
a/source3/script/mksyms.awk
b/source3/script/mksyms.awk
index ab28d5a51cf9babef93faca672283a21fe5faadd..94a405ca689ff8741a8b188df27be210efb378f6 100644
(file)
--- a/
source3/script/mksyms.awk
+++ b/
source3/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(/^[*]+/, "");