Skip to contentSkip to conversation

busybox 1.22.0: add line edit patch

PATCH New Gustavo Zacarias 2 participants 2 messages Jan 15, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 busybox 1.22.0: add line edit patch

---
 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
package/busybox/1.22.0/0005-busybox-1.22.0-lineedit.patch new file +12 -0
new file mode 100644
index 0000000..e414314
@@ -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;
+ }
+ 
Signature · 1 line
1.8.3.2