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:
2c4de5b
)
small fix for HISTFILESIZE
author
Denys Vlasenko
<vda.linux@googlemail.com>
Thu, 31 Mar 2011 12:39:38 +0000
(14:39 +0200)
committer
Denys Vlasenko
<vda.linux@googlemail.com>
Thu, 31 Mar 2011 12:39:38 +0000
(14:39 +0200)
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 095ccfbef97ab34c69fe0471843ab75dfd9192c8..0563e6d011599e6dbf08f4e13579e3b1cee3cdac 100644
(file)
--- a/
libbb/lineedit.c
+++ b/
libbb/lineedit.c
@@
-1412,6
+1412,7
@@
static void save_history(char *str)
* load them */
st_temp = new_line_input_t(state->flags);
st_temp->hist_file = state->hist_file;
+ st_temp->max_history = state->max_history;
load_history(st_temp);
/* write out temp file and replace hist_file atomically */