Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: zsh heredoc crash
- X-seq: zsh-workers 39301
- From: Daniel Shahaf <d.s@xxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: Re: zsh heredoc crash
- Date: Mon, 12 Sep 2016 23:25:22 +0000
- Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= daniel.shahaf.name; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-sasl-enc:x-sasl-enc; s=mesmtp; bh=At/bhIc+CIU0glnc RPQuAmy91wM=; b=tRM0p15ktxHMBukpsngRNst2O/WueeynU5NAfOtddXoOD8bG b5hEDFiTqmWjpmQmLsaZZ+FUog3sXZ+ldeA949UkcFl958RxtA4hzlD6CmEYclYw VqzFPGSHlhmUYWx0monWZ7yVrQkdAXxlmteOifkpEsEp4W/retKjadDzjRA=
- Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-sasl-enc:x-sasl-enc; s=smtpout; bh=At/bhIc+CIU0gln cRPQuAmy91wM=; b=Hx0qeZLFMyb+n3zNiKod40WVZrM4fXnKP7ViGRdJH3pG4a+ sTRrJ/KRGvm537+OPlzpy9HUZiJFcrj9w2ycx7LNS+yrx31aVNRyj3HBmwfptOyk IMZhdI3PSCqJzBZWsrUQJbsG6WzBoaWhFOz7B+d3GxZ+wihgnwxP6vePnNW8=
- In-reply-to: <160909180250.ZM19582@torch.brasslantern.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: <CAHAq8pEm1FHNvoUJUq2t86P-QKtMdT3uScDUGn-dCscJUGvWew@mail.gmail.com> <25855010.qczLe9GZ8n@kdudka-nb> <20160909173515.4cb8392e@pwslap01u.europe.root.pri> <160909180250.ZM19582@torch.brasslantern.com>
Bart Schaefer wrote on Fri, Sep 09, 2016 at 18:02:50 -0700:
> This is because gethere() is looking for a *line* containing only the end
> token, even though the top of the call chain is parse_event(OUTPAR). The
> desired end token is not passed down through par_sublist().
There seems to be a logic error in gethere():
if (!errflag) {
/* Retain any user interrupt error */
errflag = ef | (errflag & ERRFLAG_INT);
}
The assignment is equivalent to «errflag = ef;» due to the if()
condition. It was added in ab09c24a49951b on the interrupt_abort
branch.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author