wafsamba: fix samba_abi for default catch-all case
authorAlexander Bokovoy <ab@samba.org>
Wed, 3 Apr 2013 12:52:06 +0000 (15:52 +0300)
committerKarolin Seeger <kseeger@samba.org>
Thu, 18 Jul 2013 18:06:15 +0000 (20:06 +0200)
commit6d3aa059040463b6e6e7289398c1d73a3c53c245
tree79485a14b605bd9218120d71be243dc2f53f9484
parentb2c597f57f19c821e1fb6c6f16e828e5c71909a4
wafsamba: fix samba_abi for default catch-all case

Only filter out the symbol when positive match was not found and there is
negative match.

ABI signature file generator worked incorrectly for cases when mixture of
positive and negative matches were provided. This resulted in generating empty
signature file for libpdb since there was no catch-all positive match anymore.

Commit 9ba44cc610426fb558b49aa9680b5bdf55c29082 removed explicit '*' positive
match and corresponding vscript generator adds '*' by default if global match
list is empty, so this commit introduces feature parity into signature
generator.

Reviewed-by: Andreas Schneider <asn@samba.org>
buildtools/wafsamba/samba_abi.py