[Bug 591] modprobe-small: incorrect alias detection
bugzilla at busybox.net
bugzilla at busybox.net
Mon Sep 7 00:34:58 UTC 2009
https://bugs.busybox.net/show_bug.cgi?id=591
--- Comment #4 from Denys Vlasenko <vda.linux at googlemail.com> 2009-09-07 00:34:57 UTC ---
Thanks for diagnosing it!
How about this, much smaller change?
--- busybox.2/modutils/modprobe-small.c 2009-09-06 12:43:28.000000000 +0200
+++ busybox.3/modutils/modprobe-small.c 2009-09-07 02:34:59.000000000 +0200
@@ -218,6 +218,7 @@ static void parse_module(module_info *in
bksp(); /* remove last ' ' */
appendc('\0');
info->aliases = copy_stringbuf();
+ replace(info->aliases, '-', '_');
/* "dependency1 depandency2" */
reset_stringbuf();
It seems to work for me. Please let me know if it doesn't work for you.
Provide the debug log.
--
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the busybox-cvs
mailing list