fix tcgetsid return type

Eric Blake eblake@redhat.com
Tue Feb 28 15:01:00 GMT 2012


On 02/27/2012 04:57 PM, Christopher Faylor wrote:
> 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.

Done.

-- 
Eric Blake   eblake@redhat.com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 620 bytes
Desc: OpenPGP digital signature
URL: <http://cygwin.com/pipermail/cygwin-patches/attachments/20120228/23567188/attachment.sig>


More information about the Cygwin-patches mailing list