diff options
author | Dirk Opfer <dirk@do13.de> | 2009-08-06 21:42:56 +0200 |
---|---|---|
committer | Dirk Opfer <dirk@do13.de> | 2009-08-06 21:55:31 +0200 |
commit | 1e4fc3556b84654a11a460484988abfc80b5d1ae (patch) | |
tree | dabc999a667053bd8f3a6aee94b8e7294efba1c2 /recipes/busybox/busybox-1.14.3/fix | |
parent | c04bac092910c7abb3ff328597c57cc204ba51a6 (diff) |
busybox: add new version 1.14.3
DEFAULT_PREFERENCE is set to "-1".
Diffstat (limited to 'recipes/busybox/busybox-1.14.3/fix')
-rw-r--r-- | recipes/busybox/busybox-1.14.3/fix | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/recipes/busybox/busybox-1.14.3/fix b/recipes/busybox/busybox-1.14.3/fix new file mode 100644 index 0000000000..544f41b256 --- /dev/null +++ b/recipes/busybox/busybox-1.14.3/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); |