small fix for HISTFILESIZE

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Denys Vlasenko 2011-03-31 14:39:38 +02:00
parent 2c4de5b045
commit e3d8d077b7

View File

@ -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 */