From b207aeeded1d894fb286b20308855d43f9e64369 Mon Sep 17 00:00:00 2001 From: Wayne Davison Date: Fri, 8 Jun 2001 00:15:18 +0000 Subject: Don't mark a HIST_TMPSTORE entry with HIST_OLD so that the HFILE_FAST algorithm in savehistfile() will recheck this hist num later. --- Src/hist.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Src') diff --git a/Src/hist.c b/Src/hist.c index 1b4828e82..5b0fe0309 100644 --- a/Src/hist.c +++ b/Src/hist.c @@ -1095,7 +1095,7 @@ hend(Eprog prog) if (isset(HISTREDUCEBLANKS)) histreduceblanks(); } - newflags = save > 0? 0 : HIST_OLD | HIST_TMPSTORE; + newflags = save > 0? 0 : HIST_TMPSTORE; if ((isset(HISTIGNOREDUPS) || isset(HISTIGNOREALLDUPS)) && save > 0 && hist_ring && histstrcmp(chline, hist_ring->text) == 0) { /* This history entry compares the same as the previous. -- cgit 1.4.1