From: Denys Vlasenko Date: Thu, 31 Mar 2011 12:39:38 +0000 (+0200) Subject: small fix for HISTFILESIZE X-Git-Tag: 1_19_0~198 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=e3d8d077b7d2e51fed03dc20267eadbe38903b2a;p=oweals%2Fbusybox.git small fix for HISTFILESIZE Signed-off-by: Denys Vlasenko --- 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) * 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 */