Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Test failure in redirect.



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