From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14624 invoked by alias); 21 Oct 2011 10:20:23 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: X-Seq: 16530 Received: (qmail 15882 invoked from network); 21 Oct 2011 10:20:12 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-4.3 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received-SPF: none (ns1.primenet.com.au: domain at spodhuis.org does not designate permitted sender hosts) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=spodhuis.org; s=d201107; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID:Subject:Cc:To:From:Date; bh=Tt2P8kmPUMhjrL6XpwNDuo/cKtT13Ozm387TDK5paZM=; b=cgs0NZ4TeDWCrbXba6HecnAMsrMC9YmhL/QiDKKsXRI4rKFumNwyCS0kolfMDaeAt9PWnLAYZPMe4lpqLYM39Kexpk3y4XHEMYf+lDwocXcUz/dzrn6FQX0UPtj4sIIRHwaZGSReEFT9nQVEzT6/kGa8qHk65WkK6x2qlYtJAw8=; Date: Fri, 21 Oct 2011 06:20:07 -0400 From: Phil Pennock To: Peter Stephenson Cc: Zsh Users Subject: Re: 4.3.12-test-2 Message-ID: <20111021102007.GB23272@redoubt.spodhuis.org> Mail-Followup-To: Peter Stephenson , Zsh Users References: <20111020213929.410073fe@pws-pc.ntlworld.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20111020213929.410073fe@pws-pc.ntlworld.com> On 2011-10-20 at 21:39 +0100, Peter Stephenson wrote: > I've uploaded a test version of zsh to ftp.zsh.org in pub/development. > Please see if you can find any obvious problems, else I'll release it as > 4.3.13. > > This is almost entirely a bug-fix release, with the usual continuous > improvements to shell functions. Between 4.3.12 and HEAD/4.3.12-test-2 I've started getting: /home/phil/.zshenv:133: failed to close file descriptor 1: bad file descriptor /home/phil/.zshenv:136: failed to close file descriptor 1: bad file descriptor /home/phil/.zshenv:142: failed to close file descriptor 1: bad file descriptor /home/phil/.zshenv:146: failed to close file descriptor 1: bad file descriptor Those correspond to function definitions of the form: functions >&- have_cmd || function have_cmd { [[ -x =$1 ]] 2>/dev/null } I can see closing fd1 as causing issues if I were going to print, but in this case it's a report of EBADF for stdout, which I don't quite believe. -Phil