Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: 4.3.4-dev-6
- X-seq: zsh-workers 24309
- From: Clint Adams <schizo@xxxxxxxxxx>
- To: Peter Stephenson <p.w.stephenson@xxxxxxxxxxxx>
- Subject: Re: 4.3.4-dev-6
- Date: Sat, 22 Dec 2007 13:09:31 -0500
- Cc: Zsh <zsh-workers@xxxxxxxxxx>
- In-reply-to: <20071221184932.cab2d9a9.p.w.stephenson@xxxxxxxxxxxx>
- Mail-followup-to: Peter Stephenson <p.w.stephenson@xxxxxxxxxxxx>, Zsh <zsh-workers@xxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <5951.1198159661@xxxxxxx> <20071220205823.GD6125@xxxxxxxxxxx> <20071221184932.cab2d9a9.p.w.stephenson@xxxxxxxxxxxx>
On Fri, Dec 21, 2007 at 06:49:32PM +0000, Peter Stephenson wrote:
> I suggest breakpointing where REDIR_CLOSE is handled around line 2708 of
> exec.c in such an environment (which I don't have) to see what's happening.
> I suppose it's just vaguely possible that stdin has been set up as a
> multio for some reason: addfd() is the function that adds to a multio
> and closemn() is where they are actually spawned (it's quite badly named).
That was a bit of a red herring; I have the exact same problem with a
normal make & make check. I wonder if this has something to do with it:
% mkdir redir.tmp && cd redir.tmp
%
% myfd=99
% (echo >&$myfd) 2>msg
% bad_fd_msg="${$(<msg)##*:}"
% print foo >&-
% cat msg
zsh: 99: bad file descriptor
% <Ctrl-D to exit shell>
foo
Messages sorted by:
Reverse Date,
Date,
Thread,
Author