summaryrefslogtreecommitdiff
path: root/package/busybox/busybox-1.12.2-lineedit.patch
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2008-11-13 16:32:52 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2008-11-13 16:32:52 +0000
commitbe4f829719800b261f76ce5d7b492cf4097fbe27 (patch)
treeefc29be74e4dfa907252608dca6553c2bcd48ac9 /package/busybox/busybox-1.12.2-lineedit.patch
parent14520e6fa3dd68cd491af4c1423bb0fd91ac740e (diff)
busybox: bump 1.12.x version
Diffstat (limited to 'package/busybox/busybox-1.12.2-lineedit.patch')
-rw-r--r--package/busybox/busybox-1.12.2-lineedit.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/package/busybox/busybox-1.12.2-lineedit.patch b/package/busybox/busybox-1.12.2-lineedit.patch
new file mode 100644
index 000000000..b7051c0d8
--- /dev/null
+++ b/package/busybox/busybox-1.12.2-lineedit.patch
@@ -0,0 +1,13 @@
+--- busybox-1.12.2/libbb/lineedit.c Sun Nov 9 18:20:16 2008
++++ busybox-1.12.2-lineedit/libbb/lineedit.c Tue Nov 11 21:02:04 2008
+@@ -1415,8 +1415,10 @@
+ if ((state->flags & SAVE_HISTORY) && state->hist_file)
+ load_history(state->hist_file);
+ #endif
++#if MAX_HISTORY > 0
+ if (state->flags & DO_HISTORY)
+ state->cur_history = state->cnt_history;
++#endif
+
+ /* prepare before init handlers */
+ cmdedit_y = 0; /* quasireal y, not true if line > xt*yt */