From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from euclid.skiles.gatech.edu (list@euclid.skiles.gatech.edu [130.207.146.50]) by coral.primenet.com.au (8.7.5/8.7.3) with ESMTP id IAA09393 for ; Thu, 19 Sep 1996 08:31:17 +1000 (EST) Received: (from list@localhost) by euclid.skiles.gatech.edu (8.7.3/8.7.3) id SAA01627; Wed, 18 Sep 1996 18:18:20 -0400 (EDT) Resent-Date: Wed, 18 Sep 1996 18:18:20 -0400 (EDT) From: Zoltan Hidvegi Message-Id: <199609182137.XAA00691@hzoli.ppp.cs.elte.hu> Subject: Re: two new bugs To: pws@ifh.de (Peter Stephenson) Date: Wed, 18 Sep 1996 23:37:01 +0200 (MET DST) Cc: zsh-workers@math.gatech.edu (Zsh hacking and development) In-Reply-To: <199609181226.OAA05942@hydra.ifh.de> from Peter Stephenson at "Sep 18, 96 02:26:17 pm" X-Mailer: ELM [version 2.4ME+ PL17 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Resent-Message-ID: <"2uwtS.0.LP.hK7Go"@euclid> Resent-From: zsh-workers@math.gatech.edu X-Mailing-List: archive/latest/2147 X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu > I wrote: > > 2) > > > > % fn() { if true; then functions fn | less; fi; } > > % fn > > zsh: 14277 done functions fn | > > zsh: 14278 suspended (tty output) less > > There's a race condition here. This makes it rather nastily system > dependent exactly how it shows up. I also sometimes get the > right output, but instead of being piped through less it simply ends > up dumped to the terminal, with a status of 1 returned. These tests > were on IRIX 5.3; with SunOS 5.5 I can't get it to show up at all. Didn't you applied my experimental patch do remove pipe synchronization from exec.c? That may cause excatly the problem you describe above I suppose. If you didn't I can test it on IRIX 5.3 but this week I have no time at all. Zoltan