[PATCH] tcsetpgrp fails unexpectedly

Christopher Faylor cgf-use-the-mailinglist-please@cygwin.com
Mon Apr 4 17:16:00 GMT 2011

On Mon, Apr 04, 2011 at 09:45:09AM -0700, Tor Perkins wrote:
>I think I've found two problems in fhandler_termios::bg_check():
>  * Cygwin's tcsetpgrp function will return EIO when the process
>    group for the calling process has no leader.
>  * This appears to be caused by a leaderless process group being
>    interpreted as an orphaned process group.
>Please find a plain text file attachment that includes a changelog
>entry and a patch.

Thanks for the patch and the report.  I'll take a look at this in detail
in the next couple of days.  However, unfortunately, I think this is a
large enough submission that it requires an assignment form.

See: http://cygwin.com/contrib.html .

Sorry to make you jump through hoops for this.  It's a necessary evil.


More information about the Cygwin-patches mailing list