Christian Ostheimer writes:

Hello,

function build_dep in modprobe.c assumes that dependencies of one module
have not more than 255 chars;
that is not sufficient in kernel 2.6.7 (alsa sound modules). - Below is
a diff that solves the problem for me.

With regards, Christian Ostheimer
This commit is contained in:
Eric Andersen 2004-08-14 20:57:33 +00:00
parent 9940e081c9
commit beaef16315

View File

@ -115,7 +115,7 @@ static struct dep_t *build_dep ( void )
struct utsname un;
struct dep_t *first = 0;
struct dep_t *current = 0;
char buffer[256];
char buffer[2048];
char *filename = buffer;
int continuation_line = 0;