This is the mail archive of the
cygwin-patches
mailing list for the Cygwin project.
Re: fix tcgetsid return type
- From: Christopher Faylor <cgf-use-the-mailinglist-please at cygwin dot com>
- To: cygwin-patches at cygwin dot com
- Date: Mon, 27 Feb 2012 18:57:59 -0500
- Subject: Re: fix tcgetsid return type
- References: <4F4C10F0.3080306@redhat.com>
- Reply-to: cygwin-patches at cygwin dot com
On Mon, Feb 27, 2012 at 04:25:36PM -0700, Eric Blake wrote:
>Detected by gnulib's unit tests. POSIX requires tcgetsid to return
>pid_t, not int.
>
>2012-02-27 Eric Blake <eblake@redhat.com>
>
> * include/sys/termios.h (tcgetsid): Fix return type.
> * termios.cc (tcgetsid): Likewise.
> * fhandler_termios.cc (fhandler_termios::tcgetsid): Likewise.
> * fhandler.h (fhandler_base): Likewise.
> * fhandler.cc (fhandler_base::tcgetsid): Likewise.
Looks good. Please check in.
cgf