From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6279 invoked from network); 4 Feb 2002 21:04:00 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 4 Feb 2002 21:04:00 -0000 Received: (qmail 27763 invoked by alias); 4 Feb 2002 21:03:50 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 16557 Received: (qmail 27750 invoked from network); 4 Feb 2002 21:03:49 -0000 Date: Mon, 4 Feb 2002 21:03:37 +0000 To: Bart Schaefer Cc: Felix Rosencrantz , zsh-workers@sunsite.dk Subject: Re: Test failure in redirect. Message-ID: <20020204210337.GA4456@fysh.org> References: <20020131064103.12082.qmail@web10405.mail.yahoo.com> <1020204184533.ZM24919@candle.brasslantern.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1020204184533.ZM24919@candle.brasslantern.com> User-Agent: Mutt/1.3.25i From: Zefram Bart Schaefer wrote: >} print foo >&- >} Error output: >} (eval):print:1: write error: bad file descriptor ... >+ /* Testing EBADF special-cases >&- redirections */ >+ if ((fout != stdout) ? (fclose(fout) != 0) : >+ (fflush(fout) != 0 && errno != EBADF)) { I think the error message is correct and should remain; the test data is what needs to be fixed. -zefram