summaryrefslogtreecommitdiff
path: root/lib/tdb
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:31 +0200
commit55dcf928eb6ce603c5e95a9a80856a4deb33d0c6 (patch)
treeb9028898176342b71eb590a91609580f1a6a858a /lib/tdb
parentcfa4e7ec7540d1100649839a10968303189fe929 (diff)
downloadsamba-55dcf928eb6ce603c5e95a9a80856a4deb33d0c6.tar.gz
samba-55dcf928eb6ce603c5e95a9a80856a4deb33d0c6.tar.bz2
samba-55dcf928eb6ce603c5e95a9a80856a4deb33d0c6.zip
tdb:mksigs: allow PRINTF_ATTRIBUTE(..) macros function types as funcion args
Michael
Diffstat (limited to 'lib/tdb')
-rwxr-xr-xlib/tdb/script/mksigs.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/tdb/script/mksigs.pl b/lib/tdb/script/mksigs.pl
index a34950b09a..755cd79603 100755
--- a/lib/tdb/script/mksigs.pl
+++ b/lib/tdb/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