Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Bug: time doesn't work on builtins
- X-seq: zsh-workers 53069
- From: Jun T <takimoto-j@xxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: Re: Bug: time doesn't work on builtins
- Date: Fri, 6 Sep 2024 18:41:23 +0900
- Archived-at: <https://zsh.org/workers/53069>
- In-reply-to: <CAH+w=7Y3c-3s-vwhdAb=v1v3V-a0ME_Mb4FdVFhwjopDmkKf3A@mail.gmail.com>
- List-id: <zsh-workers.zsh.org>
- References: <CAA=-s3w0wsH7xkS58JS0AbGdOoihYxq+cKEpVomFU_f1_w-ynQ@mail.gmail.com> <CAH+w=7a3BuQnPMa5YEy8n8ZNSNNoYNKLL9Aki5iCSPKbTyn5eQ@mail.gmail.com> <CAA=-s3z3YMho0a4A3H4h3o75oY1fR36w2zz83zQKjyPi3mSTpQ@mail.gmail.com> <CAH+w=7ZZ3frU9OjpkOmHzvL6Ws0YQPE=_JK+izmRR+gEcvSsDg@mail.gmail.com> <CAH+w=7ZpU-QCFAfPYvBFQvUnfekV35c3B_j7eoWvo8MokJ0Ncw@mail.gmail.com> <20C9A9EE-49A5-4A58-AA00-136A5D221331@kba.biglobe.ne.jp> <E09184A8-24FC-44E6-B387-3817736D198E@kba.biglobe.ne.jp> <CAH+w=7Y3c-3s-vwhdAb=v1v3V-a0ME_Mb4FdVFhwjopDmkKf3A@mail.gmail.com>
> 2024/09/06 8:37, Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> wrote:
>
> On Thu, Sep 5, 2024 at 10:29 AM Jun. T <takimoto-j@xxxxxxxxxxxxxxxxx> wrote:
>>
>> loop is skipped by (lines 1680,81)
>> if (wc_code(code) != WC_PIPE)
>> return lastval = (slflags & WC_SUBLIST_NOT) != 0;
>
> Is this enough? All existing tests still pass, but I wonder if
> there's another way to get there.
Other calls of execpline() are all from execlist(), and it seems
the case with WC_SUBST_SIMPLE is already taken care of (for
example at around line 1492).
Messages sorted by:
Reverse Date,
Date,
Thread,
Author