Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Jun 2003 04:07:45 +0400
From:      Andrey Chernov <ache@nagual.pp.ru>
To:        Juli Mallett <jmallett@FreeBSD.ORG>
Cc:        current@FreeBSD.ORG
Subject:   Re: tcsh being dodgy, or pipe code ishoos?
Message-ID:  <20030625000745.GA57678@nagual.pp.ru>
In-Reply-To: <20030624185411.A43877@FreeBSD.org>
References:  <20030624183515.A42570@FreeBSD.org> <20030624234501.GA51779@nagual.pp.ru> <20030624185411.A43877@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Jun 24, 2003 at 18:54:11 -0500, Juli Mallett wrote:

> stdout.  Where does stderr come into it?  Yes I know about TTY races

Forget about stderr, it looks like fork race somewhere. Minimal example 
will be

( ( echo 2 ; echo 3 ) | xargs -I% echo + % )

which outputs

+ + 3
2

in rare cases. Note that 

( echo 2 ; echo 3 ) | xargs -I% echo + %

never pruduce this bug, so no pipes involved, just ()



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030625000745.GA57678>