CVSROOT: /cvs/uberbaum Module name: winsup Changes by: c...@sourceware.org 2010-10-23 18:07:08
Modified files: cygwin : ChangeLog fhandler.h fhandler_console.cc fhandler_termios.cc fhandler_tty.cc cygwin/include/sys: termios.h Log message: * fhandler.h (fhandler_termios::tcinit): Make second argument non-optional. * fhandler_console.cc (fhandler_console::open): Specify second argument to tcinit. * fhandler_termios.cc (fhandler_termios::tcinit): Rename second argument. Set pgid to 0 if this is a pty master. (fhandler_termios::tcgetpgrp): Just return value of pgid. It will be zero if not initialized. * fhandler_tty.cc (fhandler_tty_slave::open): Specify second argument to tcinit. (fhandler_tty_slave::ioctl): Implement TIOCGPRP/TIOCSPGRP. Fix switch indentation. (fhandler_tty_master::ioctl): Implement TIOCGPRP/TIOCSPGRP. * include/sys/termios.h (TIOCGPGRP): Define similarly to Linux. * include/sys/termios.h (TIOCSPGRP): Ditto. Patches: http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/ChangeLog.diff?cvsroot=uberbaum&r1=1.5081&r2=1.5082 http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/fhandler.h.diff?cvsroot=uberbaum&r1=1.407&r2=1.408 http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/fhandler_console.cc.diff?cvsroot=uberbaum&r1=1.220&r2=1.221 http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/fhandler_termios.cc.diff?cvsroot=uberbaum&r1=1.77&r2=1.78 http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/fhandler_tty.cc.diff?cvsroot=uberbaum&r1=1.210&r2=1.211 http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/include/sys/termios.h.diff?cvsroot=uberbaum&r1=1.17&r2=1.18