projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7c47b56
)
lineedit: fix trivial build failure
author
Denys Vlasenko
<vda.linux@googlemail.com>
Fri, 10 Jan 2014 13:38:26 +0000
(14:38 +0100)
committer
Denys Vlasenko
<vda.linux@googlemail.com>
Fri, 10 Jan 2014 13:38:26 +0000
(14:38 +0100)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
libbb/lineedit.c
patch
|
blob
|
history
diff --git
a/libbb/lineedit.c
b/libbb/lineedit.c
index b168f1b86dd7ffaca00d3d61f2528953c3acebf7..85643079b3316c4ca5f75ebbaf0971c51ee08a07 100644
(file)
--- a/
libbb/lineedit.c
+++ b/
libbb/lineedit.c
@@
-1255,7
+1255,9
@@
line_input_t* FAST_FUNC new_line_input_t(int flags)
{
line_input_t *n = xzalloc(sizeof(*n));
n->flags = flags;
+#if MAX_HISTORY > 0
n->max_history = MAX_HISTORY;
+#endif
return n;
}