Loading cmd-line-utils/libedit/history.c +1 −1 Original line number Diff line number Diff line Loading @@ -649,7 +649,7 @@ history_save(History *h, const char *fname) retval = HPREV(h, &ev), i++) { len = strlen(ev.str) * 4; if (len >= max_size) { max_size = (len + 1023) & 1023; max_size = (len + 1023) & ~1023; ptr = h_realloc(ptr, max_size); } (void) strvis(ptr, ev.str, VIS_WHITE); Loading Loading
cmd-line-utils/libedit/history.c +1 −1 Original line number Diff line number Diff line Loading @@ -649,7 +649,7 @@ history_save(History *h, const char *fname) retval = HPREV(h, &ev), i++) { len = strlen(ev.str) * 4; if (len >= max_size) { max_size = (len + 1023) & 1023; max_size = (len + 1023) & ~1023; ptr = h_realloc(ptr, max_size); } (void) strvis(ptr, ev.str, VIS_WHITE); Loading