From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9943 invoked from network); 22 Dec 2000 07:01:36 -0000 Received: from sunsite.dk (HELO sunsite.auc.dk) (130.225.51.30) by ns1.primenet.com.au with SMTP; 22 Dec 2000 07:01:36 -0000 Received: (qmail 15907 invoked by alias); 22 Dec 2000 07:01:28 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 13307 Received: (qmail 15898 invoked from network); 22 Dec 2000 07:01:27 -0000 X-Envelope-Sender-Is: Andrej.Borsenkow@mow.siemens.ru (at relayer david.siemens.de) From: "Andrej Borsenkow" To: Subject: RE: bug with for and |& Date: Fri, 22 Dec 2000 10:01:24 +0300 Message-ID: <000401c06be4$ff6e0610$21c9ca95@mow.siemens.ru> MIME-Version: 1.0 Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) Importance: Normal In-Reply-To: <200012191348.OAA00591@beta.informatik.hu-berlin.de> X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 > > Peter Stephenson wrote: > > > The problem is general to cases where a current-shell construct > on the left > > of the pipeline contains an external command. It doesn't matter what's on > > the right of the pipeline. The code on the left seems to be executing all > > right. > > > > % exec 3>&2 > > % { ls; print Finished >&3 } |& cat > > Finished > > > > and it hangs in zwaitjobs, waiting for the job to finish, which it never > > does. Change `ls' to `print foo' and the problem goes away. > > Rats. I still can't reproduce it, neither with (on Linux), nor without > (on DU) the patch. So I guess there must be some kind of race > condition somewhere... > Sorry for "me too", but neither do I. It works here all right. It may well be some uninitialized variable. -andrej