diff options
author | Drew DeVault <sir@cmpwn.com> | 2020-01-07 20:37:43 -0500 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2020-01-09 08:47:31 +0200 |
commit | 7e2e440d4c7c51bff3ffb83ad3fd29d7b6088e32 (patch) | |
tree | a947311a233ac11a7c563d45b1e1c483e648c0c1 /src/database.c | |
parent | 3cd7d1e077ad945dfe789a6e2a337ec8849fc342 (diff) | |
download | apk-tools-7e2e440d4c7c51bff3ffb83ad3fd29d7b6088e32.tar.gz apk-tools-7e2e440d4c7c51bff3ffb83ad3fd29d7b6088e32.tar.bz2 apk-tools-7e2e440d4c7c51bff3ffb83ad3fd29d7b6088e32.tar.xz apk-tools-7e2e440d4c7c51bff3ffb83ad3fd29d7b6088e32.zip |
database.c: drop GNU extension for fnmatch
The non-wildcard version of the function is case-sensitive anyway.
Diffstat (limited to 'src/database.c')
-rw-r--r-- | src/database.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/database.c b/src/database.c index bbf6327..834695a 100644 --- a/src/database.c +++ b/src/database.c @@ -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; |