summaryrefslogtreecommitdiffstats
path: root/package/busybox/busybox-1.12.1-lineedit.patch
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2008-11-02 13:06:44 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2008-11-02 13:06:44 +0000
commita2274077d97f7f1d5c5a5b28a044dbc012169d4b (patch)
treef9814439402bbd0ef3402a7101ae1cf00fa8e327 /package/busybox/busybox-1.12.1-lineedit.patch
parent0138389b0b211312215fdd70c652d62cf6765edf (diff)
downloadbuildroot-novena-a2274077d97f7f1d5c5a5b28a044dbc012169d4b.tar.gz
buildroot-novena-a2274077d97f7f1d5c5a5b28a044dbc012169d4b.zip
busybox: additional 1.12.1 patches
Diffstat (limited to 'package/busybox/busybox-1.12.1-lineedit.patch')
-rw-r--r--package/busybox/busybox-1.12.1-lineedit.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/package/busybox/busybox-1.12.1-lineedit.patch b/package/busybox/busybox-1.12.1-lineedit.patch
new file mode 100644
index 000000000..929f0bfbe
--- /dev/null
+++ b/package/busybox/busybox-1.12.1-lineedit.patch
@@ -0,0 +1,12 @@
+--- busybox-1.12.1/libbb/lineedit.c Sun Sep 28 20:04:20 2008
++++ busybox-1.12.1-lineedit/libbb/lineedit.c Sun Nov 2 01:39:52 2008
+@@ -1415,7 +1415,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 */