X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=0.0 required=5.0 	tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
In-Reply-To: <20090729233138.GD13645@ednor.casa.cgf.cx>
References: <db95995b0907282216g6f90bcb0t5ee80873a383eb29@mail.gmail.com> 	 <20090729233138.GD13645@ednor.casa.cgf.cx>
Date: Thu, 30 Jul 2009 14:11:10 +1200
Message-ID: <db95995b0907291911x6fb8a8c9lf91b84417e298f7f@mail.gmail.com>
Subject: Re: bash pipeline exit code - possible race condition?
From: David Antliff <david.antliff@gmail.com>
To: cygwin@cygwin.com
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

On Thu, Jul 30, 2009 at 11:31, Christopher
Faylor<cgf-use-the-mailinglist-please@cygwin.com> wrote:
> On Wed, Jul 29, 2009 at 05:16:24PM +1200, David Antliff wrote:
>>I've noticed a strange problem with bash pipelines in Cygwin that
>>might indicate some sort of race condition. I cannot reproduce the
>>problem on a Linux system, but it seems easy to reproduce in Cygwin.
>
> This doesn't appear to be a cygwin problem. =A0I get occasional errors
> on linux as well.

I tried to reproduce on Linux but without success - did you simply run
my script or perhaps something else? Do you see error "141" as well?

If that is the case, then I might take this to... the bash people? the
make people? Hmmm....

-- David.

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

