This is the mail archive of the
cygwin-patches
mailing list for the Cygwin project.
Re: [PATCH] Fix for sending SIGHUP when the pty master side is close()-ed
- From: Christopher Faylor <cgf-no-personal-reply-please at cygwin dot com>
- To: cygwin-patches at cygwin dot com
- Date: Wed, 17 Aug 2005 11:32:42 -0400
- Subject: Re: [PATCH] Fix for sending SIGHUP when the pty master side is close()-ed
- References: <Pine.CYG.4.58.0508171731330.1696@mordor>
- Reply-to: cygwin-patches at cygwin dot com
On Wed, Aug 17, 2005 at 06:30:25PM +0300, Pavel Tsekov wrote:
>The attached patch solves this problem by rearranging the code a bit. It
>tries to be non-intrusive. I offer it for discussion and comments. I hope
>that my description of the problem and the patch will help to resolve the
>issue even if the patch will get rejected in favour of a better one.
It seems like your description and your rearrangement are probably
correct. This is a classic race.
Want to provide a changelog?
cgf