Busybox-1.9.0 / mdev

George Boudreau GeorgeB at Linux.ca
Wed Jan 23 15:14:25 UTC 2008


mdev no longer tolerates blank lines in mdev.conf. The following minor
change restores that ability.

George

--- busybox1.9.0/util-linux/mdev.c   2007-12-21 17:16:45.000000000 -0500
+++ busybox-1.9.0/util-linux/mdev.c-m 2008-01-23 09:01:19.000000000 -0500
@@ -148,7 +148,7 @@
                       }

                       /* Did everything parse happily? */
-                       if (field <= 2)
+                       if ((field) && (field <= 2))
                               bb_error_msg_and_die("bad line %u",
lineno);

 next_line:



More information about the busybox mailing list