small fix for HISTFILESIZE
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
parent
2c4de5b045
commit
e3d8d077b7
@ -1412,6 +1412,7 @@ static void save_history(char *str)
|
|||||||
* load them */
|
* load them */
|
||||||
st_temp = new_line_input_t(state->flags);
|
st_temp = new_line_input_t(state->flags);
|
||||||
st_temp->hist_file = state->hist_file;
|
st_temp->hist_file = state->hist_file;
|
||||||
|
st_temp->max_history = state->max_history;
|
||||||
load_history(st_temp);
|
load_history(st_temp);
|
||||||
|
|
||||||
/* write out temp file and replace hist_file atomically */
|
/* write out temp file and replace hist_file atomically */
|
||||||
|
Loading…
Reference in New Issue
Block a user