zsh-workers
 help / color / mirror / code / Atom feed
From: Peter Stephenson <p.w.stephenson@ntlworld.com>
To: Zsh <zsh-workers@sunsite.dk>
Subject: Re: 4.3.4-dev-6
Date: Fri, 21 Dec 2007 18:49:32 +0000	[thread overview]
Message-ID: <20071221184932.cab2d9a9.p.w.stephenson@ntlworld.com> (raw)
In-Reply-To: <20071220205823.GD6125@scowler.net>

On Thu, 20 Dec 2007 15:58:23 -0500
Clint Adams <schizo@debian.org> wrote:
> > ftp://ftp.zsh.org/pub/development/zsh-4.3.4-dev-6.tar.gz
> 
> This has been failing forever, but 24290 has made it less
> ignorable.
> 
> This occurs when being built chrooted by either a perl or bash script,
> with output possibly redirected or piped to tee.
> 
> ../../Test/A04redirect.ztst: starting.
> *** /tmp/zsh.ztst.out.23912     Thu Dec 20 15:28:39 2007
> --- /tmp/zsh.ztst.tout.23912    Thu Dec 20 15:28:39 2007
> ***************
> *** 0 ****
> --- 1 ----
> + foo
> Test ../../Test/A04redirect.ztst failed: output differs from expected as shown above for:
>   print foo >&-
> Was testing: '>&-' redirection
> ../../Test/A04redirect.ztst: test failed.

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).

I'm likely to be offline for most of the next couple of weeks.

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


  reply	other threads:[~2007-12-21 18:51 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <5951.1198159661@csr.com>
2007-12-20 20:58 ` 4.3.4-dev-6 Clint Adams
2007-12-21 18:49   ` Peter Stephenson [this message]
2007-12-22 18:09     ` 4.3.4-dev-6 Clint Adams
2008-01-03 17:08       ` 4.3.4-dev-6 Peter Stephenson
2008-01-04  4:23         ` 4.3.4-dev-6 Clint Adams
2008-01-07 19:44         ` possible glibc bug with buffers [was Re: 4.3.4-dev-6] Clint Adams
2008-01-07 20:01           ` Ismail Dönmez
2008-01-08  7:17           ` Andrey Borzenkov
2008-01-09 18:36             ` Clint Adams
2008-01-09 19:27               ` working around dietlibc or patched glibc [Re: possible glibc bug with buffers] Clint Adams

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20071221184932.cab2d9a9.p.w.stephenson@ntlworld.com \
    --to=p.w.stephenson@ntlworld.com \
    --cc=zsh-workers@sunsite.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).