This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: bash pipeline exit code - possible race condition?
Larry Hall (Cygwin) wrote:
> On 07/29/2009 01:16 AM, 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.
>
> <snip>
>
>> I am running Cygwin on Windows XP (service pack 3).
>>
>> $ uname -srv
>> CYGWIN_NT-5.1 1.5.25(0.156/4/2) 2008-06-12 19:34
>
> Want to try the test again with the upcoming Cygwin 1.7 release?
> <http://cygwin.com/#beta-test> 1.5.x is will be replaced by it very
> shortly so unless the problem is still visible in 1.7, it's not likely
> to spark much investigation. Just FYI.
It reproduces for me under 1.7, but I haven't had time to look closer yet.
Thanks for the nice simple testcase, David!
cheers,
DaveK
--
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