From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1735 invoked by alias); 1 Dec 2011 13:55:13 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 29923 Received: (qmail 25881 invoked from network); 1 Dec 2011 13:55:11 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW, SPF_HELO_PASS autolearn=ham version=3.3.2 Received-SPF: none (ns1.primenet.com.au: domain at csr.com does not designate permitted sender hosts) Date: Thu, 1 Dec 2011 12:52:47 +0000 From: Peter Stephenson To: Zsh workers Subject: Re: zsh 4.3.13 released Message-ID: <20111201125247.0abdc564@pwslap01u.europe.root.pri> In-Reply-To: <14298.1322742430@thecus.kiddle.eu> References: <15488.1322689558@pws-pc.ntlworld.com> <14298.1322742430@thecus.kiddle.eu> Organization: Cambridge Silicon Radio X-Mailer: Claws Mail 3.7.9 (GTK+ 2.22.0; i386-redhat-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Originating-IP: [10.101.11.233] X-Scanned-By: MailControl 7.6.4 (www.mailcontrol.com) on 10.71.0.126 On Thu, 1 Dec 2011 13:27:10 +0100 Oliver Kiddle wrote: > Peter Stephenson wrote: > > I've uploaded zsh 4.3.13 to ftp://ftp.zsh.org/pub/. If you get a chance > > to try it out before I upload it to Sourceforge, too, that would be > > great. > > On Solaris, I get the following test failure. It is just slightly > different error message wording so probably harmless. Is part of > that message perhaps coming from strerror? Yes, that's the problem; it's entirely harmless. We really need a way of telling the test system that it should match output by pattern, but I've never got round to it. Index: Test/A04redirect.ztst =================================================================== RCS file: /cvsroot/zsh/zsh/Test/A04redirect.ztst,v retrieving revision 1.20 diff -p -u -r1.20 A04redirect.ztst --- Test/A04redirect.ztst 26 Oct 2011 18:48:13 -0000 1.20 +++ Test/A04redirect.ztst 1 Dec 2011 12:50:23 -0000 @@ -153,17 +153,31 @@ >goodbye (exec 3<&- - read foo <&-) -1:'<&-' redirection -?(eval):1: failed to close file descriptor 3: bad file descriptor + read foo <&-) 2>errmsg1.txt + mystat=$? + (( $mystat == 1 )) || print "Unexpected error status $mystat" >&2 + input=("${(f)$(&2 + fi +0:'<&-' redirection print foo >&- 0:'>&-' redirection (exec >&- - print foo) + print foo) 2>errmsg2.txt + mystat=$? + (( $mystat == 0 )) || print "Unexpected error status $mystat" >&2 + input=("${(f)$(&2 + fi 0:'>&-' with attempt to use closed fd -?(eval):2: write error: bad file descriptor fn() { local foo; read foo; print $foo; } coproc fn -- Peter Stephenson Software Engineer Tel: +44 (0)1223 692070 Cambridge Silicon Radio Limited Churchill House, Cambridge Business Park, Cowley Road, Cambridge, CB4 0WZ, UK Member of the CSR plc group of companies. CSR plc registered in England and Wales, registered number 4187346, registered office Churchill House, Cambridge Business Park, Cowley Road, Cambridge, CB4 0WZ, United Kingdom More information can be found at www.csr.com. Follow CSR on Twitter at http://twitter.com/CSR_PLC and read our blog at www.csr.com/blog