Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Test failure in redirect.
- X-seq: zsh-workers 16557
- From: Zefram <zefram@xxxxxxxx>
- To: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- Subject: Re: Test failure in redirect.
- Date: Mon, 4 Feb 2002 21:03:37 +0000
- Cc: Felix Rosencrantz <f_rosencrantz@xxxxxxxxx>, zsh-workers@xxxxxxxxxx
- In-reply-to: <1020204184533.ZM24919@xxxxxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <20020131064103.12082.qmail@xxxxxxxxxxxxxxxxxxxxxxx> <1020204184533.ZM24919@xxxxxxxxxxxxxxxxxxxxxxx>
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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author