From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23921 invoked from network); 22 Dec 2007 18:09:46 -0000 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.3 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 22 Dec 2007 18:09:46 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 98961 invoked from network); 22 Dec 2007 18:09:39 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 22 Dec 2007 18:09:39 -0000 Received: (qmail 16080 invoked by alias); 22 Dec 2007 18:09:36 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 24309 Received: (qmail 16061 invoked from network); 22 Dec 2007 18:09:35 -0000 Received: from bifrost.dotsrc.org (130.225.254.106) by sunsite.dk with SMTP; 22 Dec 2007 18:09:35 -0000 Received: from virusfilter.dotsrc.org (bifrost [127.0.0.1]) by spamfilter.dotsrc.org (Postfix) with ESMTP id E32F68058F54 for ; Sat, 22 Dec 2007 19:06:07 +0100 (CET) Received: from acolyte.scowler.net (acolyte.scowler.net [216.254.112.45]) by bifrost.dotsrc.org (Postfix) with ESMTP for ; Sat, 22 Dec 2007 19:06:07 +0100 (CET) Received: by acolyte.scowler.net (Postfix, from userid 1000) id 7E9C75CF91; Sat, 22 Dec 2007 13:09:31 -0500 (EST) Date: Sat, 22 Dec 2007 13:09:31 -0500 From: Clint Adams To: Peter Stephenson Cc: Zsh Subject: Re: 4.3.4-dev-6 Message-ID: <20071222180931.GA28147@scowler.net> Mail-Followup-To: Peter Stephenson , Zsh References: <5951.1198159661@csr.com> <20071220205823.GD6125@scowler.net> <20071221184932.cab2d9a9.p.w.stephenson@ntlworld.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20071221184932.cab2d9a9.p.w.stephenson@ntlworld.com> User-Agent: Mutt/1.5.17 (2007-11-01) X-Virus-Scanned: ClamAV using ClamSMTP On Fri, Dec 21, 2007 at 06:49:32PM +0000, Peter Stephenson wrote: > I suggest breakpointing where REDIR_CLOSE is handled around line 2708 of > exec.c in such an environment (which I don't have) to see what's happening. > I suppose it's just vaguely possible that stdin has been set up as a > multio for some reason: addfd() is the function that adds to a multio > and closemn() is where they are actually spawned (it's quite badly named). That was a bit of a red herring; I have the exact same problem with a normal make & make check. I wonder if this has something to do with it: % mkdir redir.tmp && cd redir.tmp % % myfd=99 % (echo >&$myfd) 2>msg % bad_fd_msg="${$(&- % cat msg zsh: 99: bad file descriptor % foo