delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/04/30/20:34:53

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:date:from:to:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; q=dns; s=
default; b=AoC0wZ0tDSUoxv/C3pQivEI7tvAjHQ8CodQYdEcd6fYe29JLpP6gx
sKIJqDEEHSF0fILv+Hx5n+fY3ZMAoK1hXXJxcnHA4yzCw8Vq2Zy/cEfjbof8QeDa
p358hRWUfK5jyeIl9ZG6PJOFQrv3Bm2E7YBst4LNqE5TMmWVsyPA28=
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:date:from:to:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; s=default;
bh=UAMkLnEUjalYa7gobQKCgsT5tX0=; b=AgtBPjWdVjXOORuyG6ZidIBj147j
wJNdh3QCibZ1QiWffTSRowFlJ9oWvqBE+FTQCT8fwWOlHE5HBSGftv6IRDsSDoyH
yebu8eRzypC5Vvt93Qng2KVV8/OCHXtE+Fn6H+4iV1X28olf9bTg4fcS/GHz1ckE
c818lYfKd8Imyd8=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-Spam-SWARE-Status: No, score=-0.8 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_YE,RCVD_IN_SEMBACKSCATTER autolearn=no version=3.3.1
X-Mail-Handler: Dyn Standard SMTP by Dyn
X-Report-Abuse-To: abuse AT dyndns DOT com (see http://www.dyndns.com/services/sendlabs/outbound_abuse.html for abuse reporting information)
X-MHO-User: U2FsdGVkX19sy5vuuZJ+MJM7JfZwq5ga
Date: Tue, 30 Apr 2013 20:34:36 -0400
From: Christopher Faylor <cgf-use-the-mailinglist-please AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: SIGINT not received by processes started by system(3)
Message-ID: <20130501003436.GD3781@ednor.casa.cgf.cx>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <CABWu70HAYUebOKEmqk1XP0qL1PBhj4bEzR9_D2sD8vG5knEuCg AT mail DOT gmail DOT com> <20130429015244 DOT GC6560 AT ednor DOT casa DOT cgf DOT cx>
MIME-Version: 1.0
In-Reply-To: <20130429015244.GC6560@ednor.casa.cgf.cx>
User-Agent: Mutt/1.5.20 (2009-06-14)

On Sun, Apr 28, 2013 at 09:52:44PM -0400, Christopher Faylor wrote:
>On Sun, Apr 28, 2013 at 06:29:24PM -0500, Daniel R. Grayson wrote:
>>If I compile and run the program
>>
>>    #include <stdlib.h>
>>    main () {
>>        system ("sleep 1001");
>>        return 0;
>>    }
>>
>>then I expect it to terminate if I execute the shell command
>>
>>     killall -2 sleep
>>
>>elsewhere, but it doesn't.
>>
>>I searched the archives and couldn't find this mentioned.
>>
>>Has anyone else run into this?
>
>Looks like a long-standing bug.
>
>I'll check in a fix shortly.

Fix checked in.  I'm generating a new snapshot now:

http://cygwin.com/snapshots/

Please confirm or deny that this is actually fixed.

cgf

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019