diff options
author | Peter Korsgaard <jacmet@sunsite.dk> | 2009-03-11 10:10:58 +0000 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2009-03-11 10:10:58 +0000 |
commit | f6d14f30b24720440b01283982ab116f3a7dc240 (patch) | |
tree | 065f1cff44f1bf941f66bcfdc170e25e6fe4b905 /package/busybox/busybox-1.13.2-mdev.patch | |
parent | 2395d4ccc509b45190fb60a0f1bb4545af0a84f3 (diff) |
busybox: bump 1.13.x version
Diffstat (limited to 'package/busybox/busybox-1.13.2-mdev.patch')
-rw-r--r-- | package/busybox/busybox-1.13.2-mdev.patch | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/package/busybox/busybox-1.13.2-mdev.patch b/package/busybox/busybox-1.13.2-mdev.patch deleted file mode 100644 index bd17f9912..000000000 --- a/package/busybox/busybox-1.13.2-mdev.patch +++ /dev/null @@ -1,39 +0,0 @@ ---- busybox-1.13.2/testsuite/mdev.tests Sun Nov 9 18:28:19 2008 -+++ busybox-1.13.2-mdev/testsuite/mdev.tests Mon Jan 12 08:59:15 2009 -@@ -111,6 +111,22 @@ - - # continuing to use directory structure from prev test - rm -rf mdev.testdir/dev/* -+echo "sda 0:0 644 =block/ @echo @echo TEST" >mdev.testdir/etc/mdev.conf -+testing "mdev move and command" \ -+ "env - PATH=$PATH ACTION=add DEVPATH=/block/sda chroot mdev.testdir /mdev 2>&1; -+ ls -lnR mdev.testdir/dev | $FILTER_LS2" \ -+"\ -+@echo TEST -+mdev.testdir/dev: -+drwxr-xr-x 2 0 0 block -+ -+mdev.testdir/dev/block: -+brw-r--r-- 1 0 0 sda -+" \ -+ "" "" -+ -+# continuing to use directory structure from prev test -+rm -rf mdev.testdir/dev/* - echo "@8,0 :1 644" >mdev.testdir/etc/mdev.conf - testing "mdev #maj,min and no explicit uid" \ - "env - PATH=$PATH ACTION=add DEVPATH=/block/sda chroot mdev.testdir /mdev 2>&1; ---- busybox-1.13.2/util-linux/mdev.c Sun Nov 9 18:28:22 2008 -+++ busybox-1.13.2-mdev/util-linux/mdev.c Mon Jan 12 08:59:15 2009 -@@ -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; |