Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Another minor =~ glitch
- X-seq: zsh-workers 40940
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: "zsh-workers@xxxxxxx" <zsh-workers@xxxxxxx>
- Subject: Re: Another minor =~ glitch
- Date: Fri, 7 Apr 2017 22:23:40 -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=bHaAGAsnan5Kq+ToucsVjr9ZbTd2kxnFXfGo12XxR7k=; b=m8SjshtiIswaK5r3UDtbb+7hnyI3ivmmvD0tJO3WmFbOYlo+KGxpQOml6Xdlri5EMd tcPsWLfA0BdOkT4pch5Pbg6t7qWDHVFRq7jc0JcUy+++bZfULK+1g3r88ov5Icr37nN9 XEfqTtEzNzDomaKinkTpH1+vwiS2gWpwEUD8vJRloywDvMI+/OIvC2TI6ZkhlCyoSPIJ QXqgdIGBSbNjj22BiIU30aX+/qQ/betsGim+B66t/jsfPfeySHpSxzi53Js6DDCn/DUI r8lvVWLCdm1JfkT7ojqzyKocoGMH88vJ6NpVsPfjVTjzcdC+cF5a8MB49roxpwe2uXrl A83A==
- In-reply-to: <2017-04-08_03.58.46@mobil.systemanalysen.net>
- 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: <170407103320.ZM27783@torch.brasslantern.com> <2017-04-08_03.58.46@mobil.systemanalysen.net>
On Fri, Apr 7, 2017 at 6:58 PM, Roland Eggner <edvz2@xxxxxxxxxxxxxxxxxx> wrote:
>
> Regression observed since my Zsh update
> from bb6c08b51a079870 to fc1fedda954e1d10.
Thanks, that narrows it down to this:
diff --git a/Src/cond.c b/Src/cond.c
index 9b739f6..a638412 100644
--- a/Src/cond.c
+++ b/Src/cond.c
@@ -139,9 +139,9 @@ evalcond(Estate state, char *fromtest)
l = 2;
}
if (name && IS_DASH(name[0]))
- errname = name;
+ untokenize(errname = name);
else if (strs[0] && IS_DASH(*strs[0]))
- errname = strs[0];
+ untokenize(errname = strs[0]);
else
errname = "<null>";
if (name && IS_DASH(name[0]) &&
Messages sorted by:
Reverse Date,
Date,
Thread,
Author