busybox 1.22.0: add line edit patch
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
parent
e090aeaa87
commit
c75e5117b4
12
package/busybox/1.22.0/0005-busybox-1.22.0-lineedit.patch
Normal file
12
package/busybox/1.22.0/0005-busybox-1.22.0-lineedit.patch
Normal file
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user