Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: A serious bug in execution – where to debug?
- X-seq: zsh-workers 44601
- From: Sebastian Gniazdowski <sgniazdowski@xxxxxxxxx>
- To: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- Subject: Re: A serious bug in execution – where to debug?
- Date: Tue, 30 Jul 2019 20:46:50 +0200
- Cc: Zsh hackers list <zsh-workers@xxxxxxx>
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=rCBQEWz/V+E7BBzOnXoHz0LLh5KjQV7K4fu7lpEkXmU=; b=nD1s0QeWvvpmb3nHNI8rxA+hZOersQW9yMbObbRU6T2zeAmSfX1k6n8Cc+eeYYF4F9 rcBn9YiCO2SRYn4gTGnj6h0BEns6bd5XUicv0luW7dSYsJC2WoJ1U4p1xowcf+PjgadS siHuIzEZsugV+rCHYRpDk9HWhNIJbVJR2jl5i0ShBI5EamhSeefajST88i1toA7ooYUN 9lYXZofXOWnntQDx4WFTEhKjYoK9aRI/IjP5K+INA0hSUMRo/w8UP4qCmOfR3iKcJ4vz pz+aRieQ1SFxZFxga0T2cCP0yRhtzMF45mMJi03JDwCsPsJLaaivaYzMIg7F4DObi3b2 fVcA==
- In-reply-to: <CAH+w=7ZEukuvaOiBymgJ1nR1TbriEMSxx9L8-=hojxQoKOaRUw@mail.gmail.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>
- List-unsubscribe: <mailto:zsh-workers-unsubscribe@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <CAKc7PVCKrg_PnZ6jKLoAwR8XQnswT-Bs2TJA7oefhd_gRtHKUQ@mail.gmail.com> <CAH+w=7ZEukuvaOiBymgJ1nR1TbriEMSxx9L8-=hojxQoKOaRUw@mail.gmail.com>
On Tue, 30 Jul 2019 at 20:28, Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> wrote:
>
> On Tue, Jul 30, 2019 at 10:01 AM Sebastian Gniazdowski
> <sgniazdowski@xxxxxxxxx> wrote:
> >
> > If I remove the conditional from its third line, i.e. change the line
> > to:
> >
> > ZPLG_REPORTS[_dtrace/_dtrace]+="$2"$'\n'
> >
> > then the problem disappears.
>
> If you change the [[ ... ]] && ... to an if/then, does the behavior change?
> If you add a "return" or "return $?" at the end of the function, does it change?
a) yes, the problem cancels with if-then
b) no, adding one of the return's doesn't change the behavior
--
Sebastian Gniazdowski
News: https://twitter.com/ZdharmaI
IRC: https://kiwiirc.com/client/chat.freenode.net:+6697/#zplugin
Blog: http://zdharma.org
Messages sorted by:
Reverse Date,
Date,
Thread,
Author