From: "Bart Schaefer" <schaefer@brasslantern.com>
To: zsh-workers@math.gatech.edu
Subject: Re: PATCH: 3.1.4: Insidious exit status bug
Date: Fri, 25 Sep 1998 09:43:57 -0700 [thread overview]
Message-ID: <980925094357.ZM17613@candle.brasslantern.com> (raw)
In-Reply-To: <9809251501.AA18139@ibmth.df.unipi.it>
On Sep 25, 5:01pm, Peter Stephenson wrote:
} Subject: PATCH: 3.1.4: Insidious exit status bug
}
} Bart wrote:
} > zagzig% echo yyy | fgrep -q `echo xxx` && echo ok
} > ok
}
} 2) The shell handled the arguments for fgrep, called the `echo xxx',
} and waited for it. As `echo yyy' was already finished, it was
} harvested, too. As it was (at that point) the last job in the
} pipeline, the job had the STAT_DONE flag set.
I'll bet this is exactly the same bug I described back in April:
http://www.zsh.org/mla/workers-1998/msg00178.html
http://www.zsh.org/mla/workers-1998/msg00180.html
The context (a builtin piped to an external with a $(...) argument) is
certainly exactly the same.
And indeed, with your patch applied to 3.0.5 (it applies fine with fuzz)
I'm unable to repeat the bug describe in msg00178.html. In a version of
3.0.5 that does NOT have your patch, I can repeat the bug within five or
six tries.
Thanks for the patch!
--
Bart Schaefer Brass Lantern Enterprises
http://www.well.com/user/barts http://www.brasslantern.com
prev parent reply other threads:[~1998-09-25 16:49 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-09-25 6:41 Insidious exit status bugs Bart Schaefer
1998-09-25 10:09 ` Peter Stephenson
1998-09-25 10:50 ` Zefram
1998-09-25 15:01 ` PATCH: 3.1.4: Insidious exit status bug Peter Stephenson
1998-09-25 16:43 ` Bart Schaefer [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=980925094357.ZM17613@candle.brasslantern.com \
--to=schaefer@brasslantern.com \
--cc=zsh-workers@math.gatech.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).