summary refs log tree commit diff
path: root/Src
diff options
context:
space:
mode:
authorWayne Davison <wayned@users.sourceforge.net>2001-06-08 00:15:18 +0000
committerWayne Davison <wayned@users.sourceforge.net>2001-06-08 00:15:18 +0000
commitb207aeeded1d894fb286b20308855d43f9e64369 (patch)
tree0b3ee96aa2d683586bf5a11f2285a7a5f408bba2 /Src
parent8e87930abb59da81dcbe4103633d81b561a8c492 (diff)
downloadzsh-b207aeeded1d894fb286b20308855d43f9e64369.tar.gz
zsh-b207aeeded1d894fb286b20308855d43f9e64369.tar.xz
zsh-b207aeeded1d894fb286b20308855d43f9e64369.zip
Don't mark a HIST_TMPSTORE entry with HIST_OLD so that the HFILE_FAST
algorithm in savehistfile() will recheck this hist num later.
Diffstat (limited to 'Src')
-rw-r--r--Src/hist.c2
1 files changed, 1 insertions, 1 deletions
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.