Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: recipe for a ZLE segfault
- X-seq: zsh-workers 4315
- From: Peter Stephenson <pws@xxxxxx>
- To: pacman@xxxxxxx, zsh-workers@xxxxxxxxxxxxxxx (Zsh hackers list)
- Subject: Re: recipe for a ZLE segfault
- Date: Tue, 18 Aug 1998 12:29:57 +0200
- In-reply-to: "pacman@xxxxxxx"'s message of "Tue, 18 Aug 1998 00:22:43 MST." <19980818052244.3805.qmail@xxxxxxxxxxxxxxx>
pacman@xxxxxxx wrote:
> $ zsh-3.1.4 -f
> londo% bindkey -v
> londo% bindkey '^[[A' history-beginning-search-backward
> londo%
>
> Now type ^[kBBC^[[A^M (ESC k B B C Up-arrow Enter). BLAM!
I get this too. Does this fix it? (It looks like it's necessary anyway,
according to my reading of mkundoent().)
*** Src/Zle/zle_utils.c.ch Wed Apr 29 23:42:46 1998
--- Src/Zle/zle_utils.c Tue Aug 18 12:24:07 1998
***************
*** 516,521 ****
--- 516,522 ----
line[ll - 1 - suf] == lastline[lastll - 1 - suf]; )
suf++;
ch = zalloc(sizeof(*ch));
+ ch->next = NULL;
ch->hist = histline;
ch->off = pre;
if(suf + pre == lastll)
--
Peter Stephenson <pws@xxxxxx> Tel: +39 50 844536
WWW: http://www.ifh.de/~pws/
Gruppo Teorico, Dipartimento di Fisica
Piazza Torricelli 2, 56100 Pisa, Italy
Messages sorted by:
Reverse Date,
Date,
Thread,
Author