summaryrefslogtreecommitdiff
path: root/meta/packages/busybox/busybox-1.15.3/r24785.patch
diff options
context:
space:
mode:
authorJoshua Lock <josh@linux.intel.com>2010-05-25 15:36:14 +0100
committerJoshua Lock <josh@linux.intel.com>2010-05-25 15:36:14 +0100
commit615a98ed9a021da245513790c064761a0a5a67e9 (patch)
treecba72ce890e46d97e86edc2845dd379f98712907 /meta/packages/busybox/busybox-1.15.3/r24785.patch
parentcd62d697e1c746bad6dd29030f03a36750a1957e (diff)
downloadopenembedded-core-615a98ed9a021da245513790c064761a0a5a67e9.tar.gz
openembedded-core-615a98ed9a021da245513790c064761a0a5a67e9.tar.bz2
openembedded-core-615a98ed9a021da245513790c064761a0a5a67e9.tar.xz
openembedded-core-615a98ed9a021da245513790c064761a0a5a67e9.zip
busybox: bump to 1.15.3 from OE
Import the 1.15.3 recipe from OpenEmbedded and tweak to match Poky style Signed-off-by: Joshua Lock <josh@linux.intel.com>
Diffstat (limited to 'meta/packages/busybox/busybox-1.15.3/r24785.patch')
-rw-r--r--meta/packages/busybox/busybox-1.15.3/r24785.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/meta/packages/busybox/busybox-1.15.3/r24785.patch b/meta/packages/busybox/busybox-1.15.3/r24785.patch
new file mode 100644
index 000000000..e3e80befc
--- /dev/null
+++ b/meta/packages/busybox/busybox-1.15.3/r24785.patch
@@ -0,0 +1,14 @@
+--- busybox/util-linux/mdev.c 2009/01/08 17:19:01 24725
++++ busybox/util-linux/mdev.c 2009/01/12 07:57:52 24785
+@@ -179,8 +179,9 @@
+ unsigned i, n;
+ #endif
+ char *a = val;
+- s = strchr(val, ' ');
+- val = (s && s[1]) ? s+1 : NULL;
++ s = strchrnul(val, ' ');
++ val = (s[0] && s[1]) ? s+1 : NULL;
++ s[0] = '\0';
+ #if ENABLE_FEATURE_MDEV_RENAME_REGEXP
+ /* substitute %1..9 with off[1..9], if any */
+ n = 0;