From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19824 invoked from network); 21 Mar 2005 11:17:34 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 21 Mar 2005 11:17:34 -0000 Received: (qmail 46160 invoked from network); 21 Mar 2005 11:17:28 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 21 Mar 2005 11:17:28 -0000 Received: (qmail 14615 invoked by alias); 21 Mar 2005 11:17:26 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 21035 Received: (qmail 14600 invoked from network); 21 Mar 2005 11:17:25 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 21 Mar 2005 11:17:25 -0000 Received: (qmail 45850 invoked from network); 21 Mar 2005 11:17:25 -0000 Received: from mailhost1.csr.com (HELO MAILSWEEPER01.csr.com) (81.105.217.43) by a.mx.sunsite.dk with SMTP; 21 Mar 2005 11:17:15 -0000 Received: from exchange03.csr.com (unverified [10.100.137.60]) by MAILSWEEPER01.csr.com (Content Technologies SMTPRS 4.3.12) with ESMTP id for ; Mon, 21 Mar 2005 11:15:41 +0000 Received: from news01.csr.com ([10.103.143.38]) by exchange03.csr.com with Microsoft SMTPSVC(5.0.2195.6713); Mon, 21 Mar 2005 11:19:16 +0000 Received: from news01.csr.com (localhost.localdomain [127.0.0.1]) by news01.csr.com (8.13.1/8.12.11) with ESMTP id j2LBHKYc006576 for ; Mon, 21 Mar 2005 11:17:20 GMT Received: from csr.com (pws@localhost) by news01.csr.com (8.13.1/8.13.1/Submit) with ESMTP id j2LBHKSU006573 for ; Mon, 21 Mar 2005 11:17:20 GMT Message-Id: <200503211117.j2LBHKSU006573@news01.csr.com> X-Authentication-Warning: news01.csr.com: pws owned process doing -bs To: zsh-workers@sunsite.dk Subject: Re: Any comment on file descriptor behavior in functions? In-reply-to: <1050321002236.ZM10916@candle.brasslantern.com> References: <1050321002236.ZM10916@candle.brasslantern.com> Date: Mon, 21 Mar 2005 11:17:20 +0000 From: Peter Stephenson X-OriginalArrivalTime: 21 Mar 2005 11:19:16.0103 (UTC) FILETIME=[D14C8970:01C52E07] X-Spam-Checker-Version: SpamAssassin 3.0.2 on a.mx.sunsite.dk X-Spam-Level: X-Spam-Status: No, score=-2.6 required=6.0 tests=AWL,BAYES_00 autolearn=ham version=3.0.2 X-Spam-Hits: -2.6 > Specifically zsh-workers/20991: > > > It could be argued that descriptors opened by process substitution > > should remain open across external command execution within functions; > > they do, in e.g. bash. > > (But don't in zsh, in case that isn't clear.) Yes, I suppose they should be kept open, since the difference between the command and function examples in that is rather nasty. I presume this can be done with an extra flag. -- Peter Stephenson Software Engineer CSR PLC, Churchill House, Cambridge Business Park, Cowley Road Cambridge, CB4 0WZ, UK Tel: +44 (0)1223 692070 ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. **********************************************************************