Re: fix tcgetsid return type

2012-02-27 Thread Christopher Faylor
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 > > * include/sys/termios.h (tcgetsid): Fix return type. > * termios.cc (tcgetsid): Likewise. > * fhandler_

fix tcgetsid return type

2012-02-27 Thread Eric Blake
Detected by gnulib's unit tests. POSIX requires tcgetsid to return pid_t, not int. 2012-02-27 Eric Blake * include/sys/termios.h (tcgetsid): Fix return type. * termios.cc (tcgetsid): Likewise. * fhandler_termios.cc (fhandler_termios::tcgetsid): Likewise. * fhan