]> git.ipfire.org Git - thirdparty/kmod.git/commit
Revert "libkmod: call fnmatch() only as needed"
authorLucas De Marchi <lucas.de.marchi@gmail.com>
Thu, 24 Oct 2024 04:59:02 +0000 (23:59 -0500)
committerLucas De Marchi <lucas.de.marchi@gmail.com>
Thu, 24 Oct 2024 15:08:01 +0000 (10:08 -0500)
commitcb9a656f83a705e195a25cba9f4ca25f8c9838e0
tree3b0f83ae49049147ce9d1df6fb0a750c5fdb745c
parent1fa0b27acbc58eaacea48ab7edf295db463291b6
Revert "libkmod: call fnmatch() only as needed"

This reverts commit e79bba6b4af86216072b56382198da645a0906f4.

This broke alias resolution to more than one module. Example:

kmod v33:
$ modprobe -R char-major-116-1
snd
snd_seq

e79bba6b4af86216072b56382198da645a0906f4:
$ ./modprobe -R char-major-116-1
snd

Closes: https://github.com/kmod-project/kmod/issues/207
Signed-off-by: Lucas De Marchi <lucas.de.marchi@gmail.com>
Link: https://github.com/kmod-project/kmod/pull/208
libkmod/libkmod-index.c