Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com To: Martin Muenstermann Cc: cygwin AT cygwin DOT com Subject: Re: 1.3.2: setsid() vs. signals References: <3B94BC33 DOT CACAEAF4 AT trustcenter DOT de> Mime-Version: 1.0 (generated by tm-edit 7.106) Content-Type: text/plain; charset=US-ASCII From: Kazuhiro Fujieda 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: Lines: 20 X-Mailer: Gnus v5.3/Emacs 19.34 >>> On Tue, 04 Sep 2001 13:34:11 +0200 >>> Martin Muenstermann 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 | 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/