diff options
author | Joshua Lock <josh@linux.intel.com> | 2010-05-25 15:36:14 +0100 |
---|---|---|
committer | Joshua Lock <josh@linux.intel.com> | 2010-05-25 15:36:14 +0100 |
commit | 615a98ed9a021da245513790c064761a0a5a67e9 (patch) | |
tree | cba72ce890e46d97e86edc2845dd379f98712907 /meta/packages/busybox/busybox-1.15.3/r24785.patch | |
parent | cd62d697e1c746bad6dd29030f03a36750a1957e (diff) | |
download | poky-615a98ed9a021da245513790c064761a0a5a67e9.tar.gz |
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.patch | 14 |
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 0000000000..e3e80befcd --- /dev/null +++ b/meta/packages/busybox/busybox-1.15.3/r24785.patch | |||
@@ -0,0 +1,14 @@ | |||
1 | --- busybox/util-linux/mdev.c 2009/01/08 17:19:01 24725 | ||
2 | +++ busybox/util-linux/mdev.c 2009/01/12 07:57:52 24785 | ||
3 | @@ -179,8 +179,9 @@ | ||
4 | unsigned i, n; | ||
5 | #endif | ||
6 | char *a = val; | ||
7 | - s = strchr(val, ' '); | ||
8 | - val = (s && s[1]) ? s+1 : NULL; | ||
9 | + s = strchrnul(val, ' '); | ||
10 | + val = (s[0] && s[1]) ? s+1 : NULL; | ||
11 | + s[0] = '\0'; | ||
12 | #if ENABLE_FEATURE_MDEV_RENAME_REGEXP | ||
13 | /* substitute %1..9 with off[1..9], if any */ | ||
14 | n = 0; | ||