diff -Nur modutils-2.3.23/ChangeLog modutils-2.3.24/ChangeLog --- modutils-2.3.23/ChangeLog Sun Dec 17 00:59:49 2000 +++ modutils-2.3.24/ChangeLog Mon Jan 1 16:53:16 2001 @@ -1,3 +1,10 @@ +2001-01-01 Keith Owens + + modutils 2.3.24 + + * Correct check for empty generic string. + * Add alias usbdevfs usbcore. + 2000-12-17 Keith Owens modutils 2.3.23 diff -Nur modutils-2.3.23/depmod/depmod.c modutils-2.3.24/depmod/depmod.c --- modutils-2.3.23/depmod/depmod.c Sun Dec 17 10:18:04 2000 +++ modutils-2.3.24/depmod/depmod.c Wed Dec 20 08:36:10 2000 @@ -37,7 +37,7 @@ Keith Owens April 2000. */ -#ident "$Id: depmod.c 1.39 Sun, 17 Dec 2000 10:18:04 +1100 kaos $" +#ident "$Id: depmod.c 1.40 Wed, 20 Dec 2000 08:36:10 +1100 kaos $" #include #include @@ -388,9 +388,8 @@ error("unterminated generic string '%*s'", p - s, s); break; } - if (p == s) /* empty string? */ + if (p++ == s) /* empty string? */ continue; - p++; /* step over NUL */ mod->generic_string = xrealloc(mod->generic_string, ++(mod->n_generic_string)*sizeof(*(mod->generic_string))); latest = mod->generic_string + mod->n_generic_string-1; *latest = xstrdup(s); diff -Nur modutils-2.3.23/include/version.h modutils-2.3.24/include/version.h --- modutils-2.3.23/include/version.h Sun Dec 10 20:32:43 2000 +++ modutils-2.3.24/include/version.h Wed Dec 20 08:35:42 2000 @@ -1 +1 @@ -#define MODUTILS_VERSION "2.3.23" +#define MODUTILS_VERSION "2.3.24" diff -Nur modutils-2.3.23/modutils.spec modutils-2.3.24/modutils.spec --- modutils-2.3.23/modutils.spec Sun Dec 10 20:32:43 2000 +++ modutils-2.3.24/modutils.spec Wed Dec 20 08:35:42 2000 @@ -1,6 +1,6 @@ Summary: Module utilities Name: modutils -Version: 2.3.23 +Version: 2.3.24 Release: 1 Copyright: GPL Group: Utilities/System diff -Nur modutils-2.3.23/util/alias.h modutils-2.3.24/util/alias.h --- modutils-2.3.23/util/alias.h Sat Dec 16 16:13:33 2000 +++ modutils-2.3.24/util/alias.h Mon Jan 1 16:53:16 2001 @@ -181,6 +181,8 @@ "tty-ldisc-11 irtty", + "usbdevfs usbcore", + NULL /* marks the end of the list! */ };