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

Re: ZLE history expansion bug fix



zefram wrote:
> There is a bug in ZLE history expansion (2.6-beta9-test2):
> 
> % echo
> 
> % !{e <TAB>
> [zsh hangs, eating up processor time]
> 
> The problem is that if a history reference is entered, using a { but not a
> matching }, containing a valid history reference followed by a space, ZLE
> enters an infinite loop.  I have not been able to determine why these specific
> conditions are required to manifest this bug, nor whether any other set of
> conditions will work.
> 
> My solution is to make all the ZLE code that calls the lexer treat LEXERR as a
> terminating token, as well as ENDINPUT.  This solves the above bug.

All of these bugs are already corrected in my release. A new hzoli9 release
based on beta9-test5 is now avaible from ktud.elte.hu:/home/ftp/pub/zsh

Zoltan



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