From 94014ff65bc2bdd752717792b156cdfcbc5b5c98 Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Thu, 18 May 2017 09:33:08 +0100 Subject: 41113 (tweaked): Save current line linkage to history ring. When saving history state save whether the current history line is linked into the ring and remove it, and restore as appropriate later. This avoids surprises where the history ring is freed and incorrectly frees the current state in curline, which has a different allocation strategy. Original patch tweaked to make restoring more logical. --- ChangeLog | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index e608b167f..b5060864a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2017-05-18 Peter Stephenson + + * 41113 (tweaked): Src/hashtable,c, Src/hist.c, Src/zsh.h: Save + and restore state of linking of current history line into history + ring, to avoid an attempt to free the current history line. + 2017-05-12 Jun-ichi Takimoto * 41090: Src/Zle/zle_refresh.c, Src/compat.c, Src/pattern.c, -- cgit 1.4.1