Magellan Linux

Annotation of /trunk/module-init-tools/patches/module-init-tools-0.9.15-legacy-modext-support.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 153 - (hide annotations) (download)
Tue May 8 20:52:56 2007 UTC (17 years, 1 month ago) by niro
File size: 481 byte(s)
-import

1 niro 153 --- module-init-tools-0.9.15-pre1/depmod.c.orig 2003-09-17 23:01:05.605771080 +0200
2     +++ module-init-tools-0.9.15-pre1/depmod.c 2003-09-17 23:02:18.592675384 +0200
3     @@ -458,7 +458,8 @@
4    
5     static int smells_like_module(const char *name)
6     {
7     - return ends_in(name,".ko") || ends_in(name, ".ko.gz");
8     + return ends_in(name,".ko") || ends_in(name, ".ko.gz")
9     + || ends_in(name,".o") || ends_in(name, ".o.gz");
10     }
11    
12     static struct module *grab_dir(const char *dirname, struct module *next)