summaryrefslogtreecommitdiff
path: root/packages/u-boot/u-boot-1.1.4/u-boot-autoscript.patch
diff options
context:
space:
mode:
authorMichael Lauer <mickey@vanille-media.de>2007-12-28 13:10:28 +0000
committerMichael Lauer <mickey@vanille-media.de>2007-12-28 13:10:28 +0000
commitbe3e650d031916b132b4cef9d19e7844cca3440b (patch)
tree96dea5f2866a9c43bee966b9d01753467f19a9a3 /packages/u-boot/u-boot-1.1.4/u-boot-autoscript.patch
parent518fac47b16e548ace1e23d1bc6f4a38b44670bb (diff)
rename uboot directory for more consistency
Diffstat (limited to 'packages/u-boot/u-boot-1.1.4/u-boot-autoscript.patch')
-rw-r--r--packages/u-boot/u-boot-1.1.4/u-boot-autoscript.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/packages/u-boot/u-boot-1.1.4/u-boot-autoscript.patch b/packages/u-boot/u-boot-1.1.4/u-boot-autoscript.patch
new file mode 100644
index 0000000000..1864b4494e
--- /dev/null
+++ b/packages/u-boot/u-boot-1.1.4/u-boot-autoscript.patch
@@ -0,0 +1,12 @@
+--- u-boot-1.1.2/common/cmd_autoscript.c
++++ u-boot-1.1.2/common/cmd_autoscript.c
+@@ -110,8 +110,8 @@
+ return 1;
+ }
+
+- while (*len_ptr++);
++ do { len_ptr++; } while (!(*len_ptr));
+
+ /* make sure cmd is null terminated */
+ memmove (cmd, (char *)len_ptr, len);
+ *(cmd + len) = 0;