database.c: drop GNU extension for fnmatch

The non-wildcard version of the function is case-sensitive anyway.
cute-signatures
Drew DeVault 2020-01-07 20:37:43 -05:00 committed by Timo Teräs
parent 3cd7d1e077
commit 7e2e440d4c
1 changed files with 1 additions and 1 deletions

View File

@ -2950,7 +2950,7 @@ static int match_names(apk_hash_item item, void *pctx)
}
foreach_array_item(pmatch, ctx->filter) {
if (fnmatch(*pmatch, name->name, FNM_CASEFOLD) == 0) {
if (fnmatch(*pmatch, name->name, 0) == 0) {
ctx->cb(ctx->db, *pmatch, name, ctx->cb_ctx);
if (genid)
break;