aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2011-03-31 14:39:38 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2011-03-31 14:39:38 +0200
commite3d8d077b7d2e51fed03dc20267eadbe38903b2a (patch)
tree43af49b59daed4624bae5c9e04a46e93d274d4bd
parent2c4de5b045a79db73052d5b865474a00c9a87e99 (diff)
downloadbusybox-w32-e3d8d077b7d2e51fed03dc20267eadbe38903b2a.tar.gz
busybox-w32-e3d8d077b7d2e51fed03dc20267eadbe38903b2a.tar.bz2
busybox-w32-e3d8d077b7d2e51fed03dc20267eadbe38903b2a.zip
small fix for HISTFILESIZE
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r--libbb/lineedit.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libbb/lineedit.c b/libbb/lineedit.c
index 095ccfbef..0563e6d01 100644
--- a/libbb/lineedit.c
+++ b/libbb/lineedit.c
@@ -1412,6 +1412,7 @@ static void save_history(char *str)
1412 * load them */ 1412 * load them */
1413 st_temp = new_line_input_t(state->flags); 1413 st_temp = new_line_input_t(state->flags);
1414 st_temp->hist_file = state->hist_file; 1414 st_temp->hist_file = state->hist_file;
1415 st_temp->max_history = state->max_history;
1415 load_history(st_temp); 1416 load_history(st_temp);
1416 1417
1417 /* write out temp file and replace hist_file atomically */ 1418 /* write out temp file and replace hist_file atomically */