Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: recipe for a ZLE segfault
- X-seq: zsh-workers 4320
- From: pacman@xxxxxxx
- To: zsh-workers@xxxxxxxxxxxxxxx
- Subject: Re: recipe for a ZLE segfault
- Date: Tue, 18 Aug 1998 13:35:25 -0500 (EST)
- In-reply-to: <199808181029.MAA07660@xxxxxxxxxxxx> from "Peter Stephenson" at Aug 18, 98 12:29:57 pm
Peter Stephenson writes the following:
>
>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)
Yes, this takes care of it.
--
Alan Curry
Messages sorted by:
Reverse Date,
Date,
Thread,
Author