Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Crash on tab completion
- X-seq: zsh-workers 39189
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: Zsh hackers list <zsh-workers@xxxxxxx>
- Subject: Re: Crash on tab completion
- Date: Mon, 5 Sep 2016 21:58:10 -0700
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brasslantern-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=EiFA4LqaZMFpVqY5GNl4NcLv0JtCUzFyr8lNqDe+OUQ=; b=K3752tHM9w3GjcIgcxiUZLkHKaaZ9o8s8U0jwIzPUef2pSHHD71gI8nL4ztd6i0aNe BFwkEaeO69FW+3xXsJ9BT793/Y5l7c3P900aXpcVRKpuzC8adnOGJUGUL72MBBULRvzE itDrlXXu1UYM11SSkuxLF3GwhqEFQ048/+ogoaXbBE64MCv/B8ZpWba/gmhY4Zlvol93 emxLKTyNHm/BnF/gV6eudy97PXkoy1uk+A42o9MU5zol9wg098OIY4eIQUoHZEWGDkw6 e2mU+REMPZADhNGPDj4F9lus+6OBJX5l9+BghrZnEV4TsN03QL8wYeOzq1oHIZS04F91 XFlQ==
- In-reply-to: <20160905212724.1d05ed9e@ntlworld.com>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <CAKivzQRFOpZpvtc3UnF9QM8JL74kiLrQDs0qQQdxBYJNG=iBwg@mail.gmail.com> <CAH+w=7ZT=erqkQf=aFHh8r4Hdk6oBN+gtMs2F9y6fGQAWqMSdQ@mail.gmail.com> <20160905212724.1d05ed9e@ntlworld.com>
On Mon, Sep 5, 2016 at 1:27 PM, Peter Stephenson
<p.w.stephenson@xxxxxxxxxxxx> wrote:
>
> I wonder if the answer to this particular question is as simple as the
> following? This same test is used elswhere in lex.c.
>
> - if ((lexflags & LEXFLAGS_ZLE))
> + if ((lexflags & LEXFLAGS_ZLE) && !(inbufflags & INP_ALIAS))
This does stop the crash, at least under the conditions of the
original bug report.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author