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
From: Chris Faylor <cgf@cygnus.com>
Date: Mon, 2 Oct 2000 15:06:13 -0400
To: cygwin@sources.redhat.com
Subject: Re: patch for inetutils
Message-ID: <20001002150613.B15338@cygnus.com>
Reply-To: cygwin@sources.redhat.com
Mail-Followup-To: cygwin@sources.redhat.com
References: <000501c02ca3$85c5d480$e30a063e@emerald>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.3.6i
In-Reply-To: <000501c02ca3$85c5d480$e30a063e@emerald>; from steve.obrien@lineone.net on Mon, Oct 02, 2000 at 08:03:51PM +0100

On Mon, Oct 02, 2000 at 08:03:51PM +0100, Steve O'Brien wrote:
>Hi
>
>Corinna Vinschen wrote:
>
>> Steve O'Brien wrote:
>
>>> 1) rlogin - does not terminate cleanly
>>> This is because of an error in setting signals - specifically
>catch_client
>>> does not get installed as the handler for SIGCHLD so that the parent
>process
>>> does not tidy up correctly when its child terminates. My fix is a very
>minor
>>> change to libinetutils/setsig.c
>
>> Hmm, this does fix the problem only in CYGWIN=tty mode. I just tried it
>three times with notty and it was
>> worse than before. Pressing the RETURN key doesn't return to the shell
>prompt anymore. So I will not
>> check in that until the problem is solved for notty as well.
>
>I prepared my fix using NT4.0 SP6, and have since tested it also on win98SE.
>I always work in an xterm, rather than a cygwin console, and rlogin with my
>fix works correctly on both machines whether I have CYGWIN=tty or
>CYGWIN=notty. There appears to be a bug in the cygwin implementation of
>sigaction() such that using the same address for both the new action and the
>old results in the new action not being installed. My fix is a work-around
>for this, and without it I think there is no chance of obtaining correct
>behaviour from rlogin.

In this scenario, a fix for cygwin is GREATLY preferred than kludging
a workaround every time you find a problem.

cgf

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

