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

Re: segv with :_correct or :_correct:_approximate



fmarx@xxxxxxxxxxxxxxxxxxxxxxx wrote:

> With `completer' set to either `completer=_complete:_correct' or
> 			       `completer=_complete:_correct:_approximate'
> in the new Completion model, I'm seeing a segv.
> `completer=_complete' appears o.k.
> 
> To reproduce it: attempt completion on any non-existent file, with
> correction enabled.

Phew, not really a completion problem. Wayne, this happens when
freehistdata() calls removehashnode() with a histent with
he->text==NULL. I'm not sure if this shows that there is a bug
somewhere else, so I won't build a patch for it.

(All this with HIST_NO_FUNCTIONS, it tries to remove a function
definition from the history at that time.)

Bye
 Sven


--
Sven Wischnowsky                         wischnow@xxxxxxxxxxxxxxxxxxxxxxx



Messages sorted by: Reverse Date, Date, Thread, Author