Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: ZLE history expansion bug fix
- X-seq: zsh-workers 53
- From: hzoli@xxxxxxxxxx (Zoltan Hidvegi)
- To: A.Main@xxxxxxxxxxxxxxxxx (Zefram)
- Subject: Re: ZLE history expansion bug fix
- Date: Mon, 29 May 1995 20:49:26 +0100 (MET DST)
- In-reply-to: <1843.199505250311@xxxxxxxxxxxxxxxxxxxxxxx> from "Zefram" at May 25, 95 04:11:44 am
- Sender: hzoli@xxxxxxxxxx
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