modinfo: support absolute and relative module paths in the database
commit83dfe9b5fdeec10af957859f88d9632eddf74de0
authorJon Masters <jcm@jonmasters.org>
Fri, 23 Jan 2009 08:13:34 +0000 (23 03:13 -0500)
committerJon Masters <jcm@jonmasters.org>
Fri, 23 Jan 2009 08:13:34 +0000 (23 03:13 -0500)
treedaaca16e80f9d5c501e928b24bc3e84174c2778f
parentcd977aef4cfbeccd9648e87853aa6ff42e020cb1
modinfo: support absolute and relative module paths in the database

Existing versions of modinfo cannot handle the updated binary file
format in which generally only relative paths are used. This update
makes a few tweaks, including adding a generic moddir path variable.

Tested with both old and new style modules, and with/without basedir.

Signed-off-by: Jon Masters <jcm@jonmasters.org>
modinfo.c