summaryrefslogtreecommitdiffstats
path: root/meta/packages/busybox/busybox-1.15.3/fix
diff options
context:
space:
mode:
Diffstat (limited to 'meta/packages/busybox/busybox-1.15.3/fix')
-rw-r--r--meta/packages/busybox/busybox-1.15.3/fix31
1 files changed, 0 insertions, 31 deletions
diff --git a/meta/packages/busybox/busybox-1.15.3/fix b/meta/packages/busybox/busybox-1.15.3/fix
deleted file mode 100644
index 544f41b256..0000000000
--- a/meta/packages/busybox/busybox-1.15.3/fix
+++ /dev/null
@@ -1,31 +0,0 @@
1---
2 util-linux/mdev.c | 3 ++-
3 1 file changed, 2 insertions(+), 1 deletion(-)
4
5--- busybox-1.13.2.orig/util-linux/mdev.c
6+++ busybox-1.13.2/util-linux/mdev.c
7@@ -107,11 +107,11 @@ static void make_device(char *path, int
8
9 #if ENABLE_FEATURE_MDEV_CONF
10 parser = config_open2("/etc/mdev.conf", fopen_for_read);
11
12 /* If we have config file, look up user settings */
13- while (config_read(parser, tokens, 4, 3, "# \t", PARSE_NORMAL)) {
14+ while (config_read(parser, tokens, 5, 3, "# \t", PARSE_NORMAL)) {
15 regmatch_t off[1 + 9*ENABLE_FEATURE_MDEV_RENAME_REGEXP];
16 char *val;
17
18 /* Fields: regex uid:gid mode [alias] [cmd] */
19
20@@ -211,10 +211,11 @@ static void make_device(char *path, int
21 }
22 #endif /* ENABLE_FEATURE_MDEV_RENAME */
23
24 #if ENABLE_FEATURE_MDEV_EXEC
25 /* The rest (opt): command to run */
26+ val = tokens[4];
27 if (!val)
28 break;
29 {
30 const char *s = "@$*";
31 const char *s2 = strchr(s, *val);