winsup/cygwin ChangeLog fhandler.h fhandler_co ...

2010-10-23 Thread cgf
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=uberbaumr1=1.5081r2=1.5082
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/fhandler.h.diff?cvsroot=uberbaumr1=1.407r2=1.408
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/fhandler_console.cc.diff?cvsroot=uberbaumr1=1.220r2=1.221
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/fhandler_termios.cc.diff?cvsroot=uberbaumr1=1.77r2=1.78
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/fhandler_tty.cc.diff?cvsroot=uberbaumr1=1.210r2=1.211
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/include/sys/termios.h.diff?cvsroot=uberbaumr1=1.17r2=1.18



winsup/cygwin ChangeLog fhandler_tty.cc

2010-10-23 Thread cgf
CVSROOT:/cvs/uberbaum
Module name:winsup
Changes by: c...@sourceware.org 2010-10-23 18:11:20

Modified files:
cygwin : ChangeLog fhandler_tty.cc 

Log message:
* fhandler_tty.cc (fhandler_pty_master::open): Remove debugging printf.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/ChangeLog.diff?cvsroot=uberbaumr1=1.5082r2=1.5083
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/fhandler_tty.cc.diff?cvsroot=uberbaumr1=1.211r2=1.212



winsup/cygwin ChangeLog pinfo.cc

2010-10-23 Thread cgf
CVSROOT:/cvs/uberbaum
Module name:winsup
Changes by: c...@sourceware.org 2010-10-23 18:55:01

Modified files:
cygwin : ChangeLog pinfo.cc 

Log message:
* pinfo.cc (pinfo::exit): Reset tty pgrp to zero if no more handles 
open.
(_pinfo::set_ctty): Remove debugging stuff.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/ChangeLog.diff?cvsroot=uberbaumr1=1.5083r2=1.5084
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/pinfo.cc.diff?cvsroot=uberbaumr1=1.263r2=1.264



winsup/cygwin ChangeLog pinfo.cc

2010-10-23 Thread cgf
CVSROOT:/cvs/uberbaum
Module name:winsup
Changes by: c...@sourceware.org 2010-10-23 18:57:44

Modified files:
cygwin : ChangeLog pinfo.cc 

Log message:
* pinfo.cc (pinfo::exit): Grab a tty lock before setting pgid.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/ChangeLog.diff?cvsroot=uberbaumr1=1.5084r2=1.5085
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/pinfo.cc.diff?cvsroot=uberbaumr1=1.264r2=1.265