summaryrefslogtreecommitdiff
path: root/packages/busybox/busybox-1.13.2/fix
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <hrw@koansoftware.com>2009-01-09 15:13:21 +0100
committerMarcin Juszkiewicz <hrw@koansoftware.com>2009-01-16 15:37:49 +0100
commit2dc2f17523a946c8039c58e1ae27b6bc14e2cbc2 (patch)
tree53b109fb491720b74bdafe722ea065999872b45e /packages/busybox/busybox-1.13.2/fix
parent3ebd0de9a856c8d97a2993d985230a25dcea8947 (diff)
busybox: added 1.13.2
Diffstat (limited to 'packages/busybox/busybox-1.13.2/fix')
-rw-r--r--packages/busybox/busybox-1.13.2/fix31
1 files changed, 31 insertions, 0 deletions
diff --git a/packages/busybox/busybox-1.13.2/fix b/packages/busybox/busybox-1.13.2/fix
new file mode 100644
index 0000000000..544f41b256
--- /dev/null
+++ b/packages/busybox/busybox-1.13.2/fix
@@ -0,0 +1,31 @@
+---
+ util-linux/mdev.c | 3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
+
+--- busybox-1.13.2.orig/util-linux/mdev.c
++++ busybox-1.13.2/util-linux/mdev.c
+@@ -107,11 +107,11 @@ static void make_device(char *path, int
+
+ #if ENABLE_FEATURE_MDEV_CONF
+ parser = config_open2("/etc/mdev.conf", fopen_for_read);
+
+ /* If we have config file, look up user settings */
+- while (config_read(parser, tokens, 4, 3, "# \t", PARSE_NORMAL)) {
++ while (config_read(parser, tokens, 5, 3, "# \t", PARSE_NORMAL)) {
+ regmatch_t off[1 + 9*ENABLE_FEATURE_MDEV_RENAME_REGEXP];
+ char *val;
+
+ /* Fields: regex uid:gid mode [alias] [cmd] */
+
+@@ -211,10 +211,11 @@ static void make_device(char *path, int
+ }
+ #endif /* ENABLE_FEATURE_MDEV_RENAME */
+
+ #if ENABLE_FEATURE_MDEV_EXEC
+ /* The rest (opt): command to run */
++ val = tokens[4];
+ if (!val)
+ break;
+ {
+ const char *s = "@$*";
+ const char *s2 = strchr(s, *val);