aboutsummaryrefslogtreecommitdiffstats
path: root/package/busybox/busybox-1.20.0/busybox-1.20.0-lineedit.patch
diff options
context:
space:
mode:
authorGustavo Zacarias <gustavo@zacarias.com.ar>2012-04-26 00:15:23 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2012-04-29 10:51:14 +0200
commitb59f9e1562395411d10b8137ffd69e0ab573c6e2 (patch)
treef854ac639d00697648c06c7ce26b3620f682409d /package/busybox/busybox-1.20.0/busybox-1.20.0-lineedit.patch
parent524a8ab35cb955060f83649989ef769e8988d02f (diff)
downloadbuildroot-novena-b59f9e1562395411d10b8137ffd69e0ab573c6e2.tar.gz
buildroot-novena-b59f9e1562395411d10b8137ffd69e0ab573c6e2.zip
busybox: add new 1.20.0, remove deprecated, mark 1.18.x deprecated
Add version 1.20.0, remove deprecated 1.16.x & 1.17.x versions and mark 1.18.x as deprecated. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/busybox/busybox-1.20.0/busybox-1.20.0-lineedit.patch')
-rw-r--r--package/busybox/busybox-1.20.0/busybox-1.20.0-lineedit.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/package/busybox/busybox-1.20.0/busybox-1.20.0-lineedit.patch b/package/busybox/busybox-1.20.0/busybox-1.20.0-lineedit.patch
new file mode 100644
index 000000000..ee236ffc8
--- /dev/null
+++ b/package/busybox/busybox-1.20.0/busybox-1.20.0-lineedit.patch
@@ -0,0 +1,22 @@
+--- busybox-1.20.0/libbb/lineedit.c
++++ busybox-1.20.0-lineedit/libbb/lineedit.c
+@@ -1352,8 +1352,7 @@ static void load_history(line_input_t *s
+ /* fill temp_h[], retaining only last MAX_HISTORY lines */
+ memset(temp_h, 0, sizeof(temp_h));
+ idx = 0;
+- if (!ENABLE_FEATURE_EDITING_SAVE_ON_EXIT)
+- st_parm->cnt_history_in_file = 0;
++ st_parm->cnt_history_in_file = 0;
+ while ((line = xmalloc_fgetline(fp)) != NULL) {
+ if (line[0] == '\0') {
+ free(line);
+@@ -1361,8 +1360,7 @@ static void load_history(line_input_t *s
+ }
+ free(temp_h[idx]);
+ temp_h[idx] = line;
+- if (!ENABLE_FEATURE_EDITING_SAVE_ON_EXIT)
+- st_parm->cnt_history_in_file++;
++ st_parm->cnt_history_in_file++;
+ idx++;
+ if (idx == st_parm->max_history)
+ idx = 0;