X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:message-id:date:from:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; q=dns; s=default; b=uZBJWD1/G3TC7UEmBQDvGoBjv/Yzpp/SApZ90cZV9nj 1pD+DcsNWQ/JcpQb0sX755LDQmsCrydxL6wIz6PO5pBfWka52Wk6+UackwpcO7J9 7GXuBUPftA8KbIuMegzB2DC1anwC76NS59ek/XF12ftnczRv5OOkYnqY7q5AsHgI = DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:message-id:date:from:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; s=default; bh=UdCZeDeHoAdPHEwVXHyi+iMkHn4=; b=KGc5ua0mIkH54095u n604czD9KeCCGG3EsM3zrwvGne0xHCrjJ0sXZcPNCej7lZwuufDisDHpm/B5yI9w 05qAXDhRKer1WP1T8HP5pOJG6B66nxEaN/0xqqV3G6rpTK2V6PfA0VkFxXo+OZ+C tl8WntMdQcR+UUj5Gxd4rlwX6Y= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=0.9 required=5.0 tests=AWL,BAYES_50,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2 X-HELO: na01-by2-obe.outbound.protection.outlook.com Message-ID: <52F0211F.2050004@coverity.com> Date: Mon, 3 Feb 2014 18:07:11 -0500 From: Tom Honermann User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 MIME-Version: 1.0 To: Subject: Re: sh.exe returns incorrect exit code References: <3e7d738f-a4e5-4407-aafe-a54f70eb72e2 AT default> <52EFCE2E DOT 4060003 AT coverity DOT com> In-Reply-To: <52EFCE2E.4060003@coverity.com> Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: BL2PR08CA015.namprd08.prod.outlook.com (10.141.66.35) To DM2PR05MB608.namprd05.prod.outlook.com (10.141.156.154) X-Forefront-PRVS: 01110342A5 X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10009001)(6009001)(6049001)(51704005)(479174003)(377454003)(24454002)(189002)(199002)(93516002)(92566001)(42186004)(83506001)(54356001)(53806001)(74706001)(63696002)(46102001)(59766001)(77982001)(59896001)(65806001)(92726001)(51856001)(93136001)(54316002)(86362001)(56776001)(94316002)(76482001)(94946001)(85852003)(85306002)(74876001)(47776003)(87976001)(79102001)(80022001)(81816001)(65956001)(81686001)(83072002)(56816005)(66066001)(47446002)(80976001)(90146001)(49866001)(47736001)(4396001)(81342001)(81542001)(77096001)(33656001)(74502001)(80316001)(31966008)(74662001)(83322001)(19580395003)(47976001)(50986001)(76786001)(74366001)(76796001)(36756003)(50466002)(69226001)(23756003)(64126003)(460985004);DIR:OUT;SFP:1101;SCL:1;SRVR:DM2PR05MB608;H:[192.168.1.7];CLIP:96.253.80.174;FPR:8675F771.B0222795.B134178B.50EBA13B.2010E;InfoNoRecordsMX:1;A:1;LANG:en; X-OriginatorOrg: coverity.com X-IsSubscribed: yes On 02/03/2014 12:13 PM, Tom Honermann wrote: > $ cat doit.sh > #!/bin/sh > > while [ 1 ]; do > make || { > echo "make failed unexpectedly" > break > } > done > > $ cat Makefile > all: > cl.exe /c t.cpp || (shopt -s nullglob && rm -f t.obj; exit 1) > > $ cat t.cpp > int i; I've been running five copies of the above test case in my environment (64-bit Windows 7 Pro SP1 running in VMware on a Linux host on a 4 core processor) all day. No luck reproducing so far. Tom. -- 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