kmod/tools
Lucas De Marchi 650f89cd25 depmod: fix checking file extension
In depfile_up_to_date_dir() we need to check if name has a kmod
extension. "path" variable there will be the directory name, which
doesn't contain an extension.

Without this, "depmod -A" returns that the modules.dep is up to date,
even if it isn't.

In depmod_modules_search_file() it's pointless to compare the basename,
so pass only the name to be checked.
2012-11-28 14:26:23 -02:00
..
.gitignore Update .gitignore files 2012-02-05 02:15:20 -02:00
depmod.c depmod: fix checking file extension 2012-11-28 14:26:23 -02:00
insmod.c tools: use program_invocation_short_name provided by libc 2012-11-06 19:30:16 -02:00
kmod.c tools: use program_invocation_short_name provided by libc 2012-11-06 19:30:16 -02:00
kmod.h tools: use program_invocation_short_name provided by libc 2012-11-06 19:30:16 -02:00
log.c tools: use program_invocation_short_name provided by libc 2012-11-06 19:30:16 -02:00
log.h tools: staticize functions that are now only used in log.c 2012-11-06 19:06:11 -02:00
lsmod.c tools: share getting program name from argv for all tools 2012-11-06 16:55:00 -02:00
modinfo.c fix is_module_filename() 2012-11-28 11:22:00 -02:00
modprobe.c tools: use program_invocation_short_name provided by libc 2012-11-06 19:30:16 -02:00
rmmod.c tools: use program_invocation_short_name provided by libc 2012-11-06 19:30:16 -02:00