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

Re: 4.3.4-dev-6



On Sat, 22 Dec 2007 13:09:31 -0500
Clint Adams <schizo@xxxxxxxxxx> wrote:
> %   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

I'm not getting that last "foo"; could there be a race somewhere, or a
non-standard configuration option set that's doing something odd with
file descriptors, or something nasty in the compilation tree?

-- 
Peter Stephenson <p.w.stephenson@xxxxxxxxxxxx>
Web page now at http://homepage.ntlworld.com/p.w.stephenson/



Messages sorted by: Reverse Date, Date, Thread, Author