delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/04/28/21:53:08

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=odFJlz4FGCfLRcb8tTRLi6Kslzgs5mmZF1RQAcTxsF8SCcopAH78j
r54PTbClSsXEq1t3tHDT2v5Jqnly3KtLitRc8NR/qyjDa22PGwLjpwKju7FzFuWi
HR9yB+Q4kaA1f5YaLsKjubvXQhXLQLE45fWDezEfRbIPOiOJ0Lx+RA=
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=TsI3Cy9W62DlwQ5//0dD/u2trE4=; b=kluYziAURjbFvsDU6osbUKTJ9H9Q
GP8lG3mVOW9M4iWLDpHDokBakmrP73pp5/K3AYhHUXae15ai3OKjBska8a5MwhXr
1QRiHLm1adGDdpIhUWsR8BkicXk4UEV0j1DsOj2OmQjo+MqITHDKgHkmNtGH/Cjz
hW6G9VOLw7oQ5Zo=
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 autolearn=ham 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: U2FsdGVkX1+BeI5NQXoQPviSxbv2oXme
Date: Sun, 28 Apr 2013 21:52:44 -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: <20130429015244.GC6560@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>
MIME-Version: 1.0
In-Reply-To: <CABWu70HAYUebOKEmqk1XP0qL1PBhj4bEzR9_D2sD8vG5knEuCg@mail.gmail.com>
User-Agent: Mutt/1.5.20 (2009-06-14)

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.

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