diff mbox

busybox 1.22.0: add line edit patch

Message ID 1389791774-16354-1-git-send-email-gustavo@zacarias.com.ar
State Accepted
Commit c75e5117b473bc9d0b8789295527e0156b769d84
Headers show

Commit Message

Gustavo Zacarias Jan. 15, 2014, 1:16 p.m. UTC
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
---
 package/busybox/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

Comments

Peter Korsgaard Jan. 15, 2014, 1:23 p.m. UTC | #1
>>>>> "Gustavo" == Gustavo Zacarias <gustavo@zacarias.com.ar> writes:

 > Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>

Committed, thanks.
diff mbox

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 0000000..e414314
--- /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;
+ }
+