commit | e3d8d077b7d2e51fed03dc20267eadbe38903b2a | [log] [tgz] |
---|---|---|
author | Denys Vlasenko <vda.linux@googlemail.com> | Thu Mar 31 14:39:38 2011 +0200 |
committer | Denys Vlasenko <vda.linux@googlemail.com> | Thu Mar 31 14:39:38 2011 +0200 |
tree | 43af49b59daed4624bae5c9e04a46e93d274d4bd | |
parent | 2c4de5b045a79db73052d5b865474a00c9a87e99 [diff] [blame] |
small fix for HISTFILESIZE Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
diff --git a/libbb/lineedit.c b/libbb/lineedit.c index 095ccfb..0563e6d 100644 --- a/libbb/lineedit.c +++ b/libbb/lineedit.c
@@ -1412,6 +1412,7 @@ * 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 */