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)
committerAndreas Schneider <asn@cryptomilk.org>
Tue, 9 Apr 2013 18:29:18 +0000 (20:29 +0200)
commit6058bc9bb6ac315fbe7cb18e1d07a846f7849e22
treea7a83f4e397e5081bb4c4c5330fb1fe1581ece70
parent28da1af476853e6b49765bd04a496163e8ebd448
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