From c75e5117b473bc9d0b8789295527e0156b769d84 Mon Sep 17 00:00:00 2001 From: Gustavo Zacarias Date: Wed, 15 Jan 2014 10:16:14 -0300 Subject: [PATCH] busybox 1.22.0: add line edit patch Signed-off-by: Gustavo Zacarias Signed-off-by: Peter Korsgaard --- .../1.22.0/0005-busybox-1.22.0-lineedit.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 package/busybox/1.22.0/0005-busybox-1.22.0-lineedit.patch diff --git a/package/busybox/1.22.0/0005-busybox-1.22.0-lineedit.patch b/package/busybox/1.22.0/0005-busybox-1.22.0-lineedit.patch new file mode 100644 index 000000000..e4143140d --- /dev/null +++ b/package/busybox/1.22.0/0005-busybox-1.22.0-lineedit.patch @@ -0,0 +1,12 @@ +--- busybox-1.22.0/libbb/lineedit.c ++++ busybox-1.22.0-lineedit/libbb/lineedit.c +@@ -1255,7 +1255,9 @@ line_input_t* FAST_FUNC new_line_input_t + { + line_input_t *n = xzalloc(sizeof(*n)); + n->flags = flags; ++#if MAX_HISTORY > 0 + n->max_history = MAX_HISTORY; ++#endif + return n; + } +