From 7e2e440d4c7c51bff3ffb83ad3fd29d7b6088e32 Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Tue, 7 Jan 2020 20:37:43 -0500 Subject: database.c: drop GNU extension for fnmatch The non-wildcard version of the function is case-sensitive anyway. --- src/database.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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; -- cgit v1.2.3-70-g09d2