From: hzoli@cs.elte.hu (Zoltan Hidvegi)
To: A.Main@dcs.warwick.ac.uk (Zefram)
Subject: Re: ZLE history expansion bug fix
Date: Mon, 29 May 1995 20:49:26 +0100 (MET DST) [thread overview]
Message-ID: <9505291849.AA04508@turan.elte.hu> (raw)
In-Reply-To: <1843.199505250311@stone.dcs.warwick.ac.uk> from "Zefram" at May 25, 95 04:11:44 am
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
prev parent reply other threads:[~1995-05-29 18:52 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1995-05-25 3:11 Zefram
1995-05-29 19:49 ` Zoltan Hidvegi [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=9505291849.AA04508@turan.elte.hu \
--to=hzoli@cs.elte.hu \
--cc=A.Main@dcs.warwick.ac.uk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).