This is the mail archive of the cygwin@sources.redhat.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: patch for inetutils


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]