- just reading the first 9 bytes for the maj:min ought to be enough (TM)
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Fri, 16 Feb 2007 15:19:49 +0000 (15:19 -0000)
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Fri, 16 Feb 2007 15:19:49 +0000 (15:19 -0000)
package/busybox/busybox.mdev-just-read-9-bytes.patch [new file with mode: 0644]

diff --git a/package/busybox/busybox.mdev-just-read-9-bytes.patch b/package/busybox/busybox.mdev-just-read-9-bytes.patch
new file mode 100644 (file)
index 0000000..5742fd5
--- /dev/null
@@ -0,0 +1,13 @@
+Index: busybox/util-linux/mdev.c
+===================================================================
+--- busybox/util-linux/mdev.c  (revision 17891)
++++ busybox/util-linux/mdev.c  (working copy)
+@@ -39,7 +39,7 @@
+       if (!delete) {
+               strcat(path, "/dev");
+-              len = open_read_close(path, temp + 1, 64);
++              len = open_read_close(path, temp + 1, 9);
+               *temp++ = 0;
+               if (len < 1) return;
+       }