Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: [PATCH] zsh_eval_context: add math context
- X-seq: zsh-workers 54903
- From: Mikael Magnusson <mikachu@xxxxxxxxx>
- To: dana <dana@xxxxxxx>
- Cc: Jun T <takimoto-j@xxxxxxxxxxxxxxxxx>, zsh-workers@xxxxxxx
- Subject: Re: [PATCH] zsh_eval_context: add math context
- Date: Sat, 4 Jul 2026 01:46:45 +0200
- Arc-authentication-results: i=1; mx.google.com; arc=none
- Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20260327; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=zUc0X/BaI9YeJNMa65ImHjPZq+48ZbTqfcSzWTCZ94U=; fh=TBpAXlhxza48y94DQosUy4JxyypHsmOWfi7xQXwbGD0=; b=eFDAmIOrwMtNzGIi775rTrIlRWpAJeHuEL3cCuPh937U/wduXPPq4P3DSUk95HOUhw fp+1qnkBYj/YRueieo87tTR2uqVGgFWfPacAf7Mbxb19Ydo+N22wIbelmJkiLtGtj+33 CGz2EtVQSEgwNzG8aCGogFT8mQz1tbhOK+nlYyDS1A7NktwtvHFhlZtk8x30+jX5m9Rd P+8C4+7ZXymeaaZOHvhHze0pBmT/QPvlnUNqdp6/KkN1fzNLdLrV1N5zFkXOWS+rOOt4 eDf6OQXkKyUvs4/5mzAJW9sdfjVAj/NvdoRgTq2NlBzw/qQtVJjbqEUbd4RU1p63X5Pv 7XcA==; darn=zsh.org
- Arc-seal: i=1; a=rsa-sha256; t=1783122420; cv=none; d=google.com; s=arc-20260327; b=ObAAK1ErD50JRLIyNdiwKP1Nfe38tRRdIqFwKA09j2MCi0Rt9B+pZ6FaeChySr7/kn tpttGgN3uNF1yOklaUtgM1aU8Vd0mVM149hOknI4GIj9HIZvr1+PqBXamDC0rso5lwDJ FRhnyGsIDaVj4GeIhEa1Dveg1yB7Y9GRAlLPAL7I/xfjruUvnPUZKK5UQOLnY8LE0i5k BLJ77EViDjaa1fHK8D/VbI5ECdEL203TXjFooapB7j/l690AzzQ82TrWexU/5eJ3Xu/q 0m7nDQHBQ9x8frrrcd+T0j+eNlOr6SNCZijSMUdlKJ8vWmFCXjenpHXSXXeUpfFy8Znm 9jjQ==
- Archived-at: <https://zsh.org/workers/54903>
- In-reply-to: <b90c6d0e-1000-41e1-8101-769c571ae05f@app.fastmail.com>
- List-id: <zsh-workers.zsh.org>
- References: <d96e60c5-505c-41a4-a4e8-4da7ae0488b7@app.fastmail.com> <09ad1787-13ae-4021-9f4e-7357fe8baf5d@app.fastmail.com> <AB630838-FAD9-4FA7-896C-29B968629DDA@kba.biglobe.ne.jp> <a7c58b18-9a64-4f8b-bbcc-42e3eb2598ad@app.fastmail.com> <77310A2F-7751-4C74-949D-8016ABB1C81E@kba.biglobe.ne.jp> <b90c6d0e-1000-41e1-8101-769c571ae05f@app.fastmail.com>
On Mon, Jun 22, 2026 at 4:18 AM dana <dana@xxxxxxx> wrote:
>
> On Mon 22 Jun 2026, at 01:52, Jun T wrote:
> > ': >( cmd )' and '() { echo > $1 } >( cmd )' are handled by getproc()
> > but ': > >( cmd )' is handled by getpipe() (both are in exec.c).
> > I thought you wanted to test both cases.
>
> oh, i completely missed the next line, sorry again. tbh i don't remember
> my thought process, but i suppose it's as you say. please commit as you
> see fit
This commit makes the test randomly fail for me.
% typeset -i success=0 fails=0; repeat 100; do if /usr/bin/make
TESTNUM=D04 check; then success+=1; else fails+=1; fi; done; typeset
-p success fails
typeset -i success=79
typeset -i fails=21
(With the patch reverted, it always succeeds)
The error is not super helpful:
D04parameter.ztst: starting.
D04parameter.ztst: failed: SIGPIPE.
--
Mikael Magnusson
Messages sorted by:
Reverse Date,
Date,
Thread,
Author