Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
To: Martin Muenstermann <muenstermann@trustcenter.de>
Cc: cygwin@cygwin.com
Subject: Re: 1.3.2: setsid() vs. signals
References: <3B94BC33.CACAEAF4@trustcenter.de>
Mime-Version: 1.0 (generated by tm-edit 7.106)
Content-Type: text/plain; charset=US-ASCII
From: Kazuhiro Fujieda <fujieda@jaist.ac.jp>
Date: 05 Sep 2001 10:51:02 +0900
In-Reply-To: Martin Muenstermann's message of Tue, 04 Sep 2001 13:34:11 +0200
Message-ID: <s1slmju76d5.fsf@jaist.ac.jp>
Lines: 20
X-Mailer: Gnus v5.3/Emacs 19.34

>>> On Tue, 04 Sep 2001 13:34:11 +0200
>>> Martin Muenstermann <muenstermann@trustcenter.de> said:

> I have not found anything about this problem on the mailing list so I am
> sending this report:
> 
> Running cygwin 1.3.2 on WinNT 4.0 SP 4 I have the following problem:
> 
> My app does a fork and daemonizes itself by calling setsid(). When I
> press Ctrl-C in the shell where I started the app, the application
> receives a SIGINT. 
> IMHO, after calling setsid() a app should not receive any signals from
> the shell any longer (at least this is the case on solaris).

This is a bug in Cygwin DLL 1.3.2 and also in the latest snapshot.
I will fix it in the next release.
____
  | AIST      Kazuhiro Fujieda <fujieda@jaist.ac.jp>
  | HOKURIKU  Center for Information Science
o_/ 1990      Japan Advanced Institute of Science and Technology

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

