summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2009-09-11 15:20:34 +0200
committerMichael Adam <obnox@samba.org>2009-09-11 15:31:28 +0200
commitf98470e3a4add69858e50ded0c7e01393b314473 (patch)
tree91faf466e40e650c8ddc5e0a56d28e735790d146
parent085c07b7431c7b96b30d29e3753dbd5fa71ff9ce (diff)
downloadsamba-f98470e3a4add69858e50ded0c7e01393b314473.tar.gz
samba-f98470e3a4add69858e50ded0c7e01393b314473.tar.bz2
samba-f98470e3a4add69858e50ded0c7e01393b314473.zip
tevent:mksigs: allow PRINTF_ATTRIBUTE(..) macros function types as funcion args
Michael
-rwxr-xr-xlib/tevent/script/mksigs.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/tevent/script/mksigs.pl b/lib/tevent/script/mksigs.pl
index a34950b09a..755cd79603 100755
--- a/lib/tevent/script/mksigs.pl
+++ b/lib/tevent/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