]> git.ipfire.org Git - thirdparty/kmod.git/commit
libkmod: call fnmatch() only as needed
authorEmil Velikov <emil.l.velikov@gmail.com>
Tue, 8 Oct 2024 17:04:34 +0000 (18:04 +0100)
committerLucas De Marchi <lucas.de.marchi@gmail.com>
Tue, 15 Oct 2024 14:30:59 +0000 (09:30 -0500)
commite79bba6b4af86216072b56382198da645a0906f4
tree170fa873c903b738a7b846459677332081c37172
parent76212435e8a600cd54c658df74c19379a2593b26
libkmod: call fnmatch() only as needed

Currently we'll call the function even when the patterns is an empty
string.

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Link: https://github.com/kmod-project/kmod/pull/174
Signed-off-by: Lucas De Marchi <lucas.de.marchi@gmail.com>
libkmod/libkmod-index.c