diff options
| author | Gustavo Zacarias <gustavo@zacarias.com.ar> | 2014-01-15 10:16:14 -0300 |
|---|---|---|
| committer | Peter Korsgaard <peter@korsgaard.com> | 2014-01-15 14:20:20 +0100 |
| commit | c75e5117b473bc9d0b8789295527e0156b769d84 (patch) | |
| tree | 52de45b0b44d41d72553972ba4927a8f59503afe | |
| parent | e090aeaa87c1ede3c10869d2aef4f7a2a936ad54 (diff) | |
| download | buildroot-c75e5117b473bc9d0b8789295527e0156b769d84.tar.gz buildroot-c75e5117b473bc9d0b8789295527e0156b769d84.zip | |
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>
| -rw-r--r-- | package/busybox/1.22.0/0005-busybox-1.22.0-lineedit.patch | 12 |
1 files changed, 12 insertions, 0 deletions
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 0000000000..e4143140d6 --- /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; + } + |

