summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2007-02-16 15:19:49 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2007-02-16 15:19:49 +0000
commit6fadee86df2527f0fd3083b470c0ee50d73bb2db (patch)
tree53d67d48cda8b2ce4e7ec6af725cead9859f6e05
parentdf0d82146069fd6a1093687c3884de623780a623 (diff)
downloadbuildroot-novena-6fadee86df2527f0fd3083b470c0ee50d73bb2db.tar.gz
buildroot-novena-6fadee86df2527f0fd3083b470c0ee50d73bb2db.zip
- just reading the first 9 bytes for the maj:min ought to be enough (TM)
-rw-r--r--package/busybox/busybox.mdev-just-read-9-bytes.patch13
1 files changed, 13 insertions, 0 deletions
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
index 000000000..5742fd597
--- /dev/null
+++ b/package/busybox/busybox.mdev-just-read-9-bytes.patch
@@ -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;
+ }