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:
56c09d2
)
talloc:mksigs: allow PRINTF_ATTRIBUTE(..) macros function types as funcion args
author
Michael Adam
<obnox@samba.org>
Fri, 11 Sep 2009 13:20:34 +0000
(15:20 +0200)
committer
Michael Adam
<obnox@samba.org>
Fri, 11 Sep 2009 13:31:35 +0000
(15:31 +0200)
Michael
lib/talloc/script/mksigs.pl
patch
|
blob
|
history
diff --git
a/lib/talloc/script/mksigs.pl
b/lib/talloc/script/mksigs.pl
index a34950b09a6d6bdf9391da11bd1521dc20868fbc..755cd796039724869970e6d6f2a51ca0417f0e71 100755
(executable)
--- a/
lib/talloc/script/mksigs.pl
+++ b/
lib/talloc/script/mksigs.pl
@@
-159,7
+159,7
@@
while (my $LINE = <>) {
# remove trailing spaces
$LINE =~ s/(.*?)\s*$/$1/;
- $LINE =~ s/^(.*\))\s+PRINTF_ATTRIBUTE\(
.*\);$/$1;
/;
+ $LINE =~ s/^(.*\))\s+PRINTF_ATTRIBUTE\(
[^\)]*\)(\s*[;,])/$1$2
/;
$LINE =~ s/^(.*\))\s*[a-zA-Z0-9_]+\s*;$/$1;/;
# remove parameter names - slightly too coarse probably