summaryrefslogtreecommitdiff
path: root/meta/packages/busybox/busybox-1.15.3/fdisk_lineedit_segfault.patch
diff options
context:
space:
mode:
authorJoshua Lock <josh@linux.intel.com>2010-05-25 15:36:14 +0100
committerJoshua Lock <josh@linux.intel.com>2010-05-25 15:36:14 +0100
commit615a98ed9a021da245513790c064761a0a5a67e9 (patch)
treecba72ce890e46d97e86edc2845dd379f98712907 /meta/packages/busybox/busybox-1.15.3/fdisk_lineedit_segfault.patch
parentcd62d697e1c746bad6dd29030f03a36750a1957e (diff)
downloadopenembedded-core-615a98ed9a021da245513790c064761a0a5a67e9.tar.gz
openembedded-core-615a98ed9a021da245513790c064761a0a5a67e9.tar.bz2
openembedded-core-615a98ed9a021da245513790c064761a0a5a67e9.tar.xz
openembedded-core-615a98ed9a021da245513790c064761a0a5a67e9.zip
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/fdisk_lineedit_segfault.patch')
-rw-r--r--meta/packages/busybox/busybox-1.15.3/fdisk_lineedit_segfault.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/meta/packages/busybox/busybox-1.15.3/fdisk_lineedit_segfault.patch b/meta/packages/busybox/busybox-1.15.3/fdisk_lineedit_segfault.patch
new file mode 100644
index 000000000..633153f1c
--- /dev/null
+++ b/meta/packages/busybox/busybox-1.15.3/fdisk_lineedit_segfault.patch
@@ -0,0 +1,12 @@
+--- old/libbb/lineedit.c 2008/09/27 01:28:56 23530
++++ new/libbb/lineedit.c 2008/11/02 00:41:05 23898
+@@ -1412,7 +1412,8 @@
+ if ((state->flags & SAVE_HISTORY) && state->hist_file)
+ load_history(state->hist_file);
+ #endif
+- state->cur_history = state->cnt_history;
++ if (state->flags & DO_HISTORY)
++ state->cur_history = state->cnt_history;
+
+ /* prepare before init handlers */
+ cmdedit_y = 0; /* quasireal y, not true if line > xt*yt */