Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: recipe for a ZLE segfault



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