winsup/cygwin ChangeLog dtable.cc

2011-10-11 Thread cgf
CVSROOT:/cvs/uberbaum
Module name:winsup
Changes by: c...@sourceware.org 2011-10-11 12:39:31

Modified files:
cygwin : ChangeLog dtable.cc 

Log message:
* dtable.cc (fh_alloc): Don't parse /dev/tty if ctty is  0.  Reset 
major/minor
from the specific tty to those for /dev/tty.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/ChangeLog.diff?cvsroot=uberbaumr1=1.5514r2=1.5515
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/dtable.cc.diff?cvsroot=uberbaumr1=1.233r2=1.234



src/winsup/utils ChangeLog utils.sgml

2011-10-11 Thread yselkowitz
CVSROOT:/cvs/src
Module name:src
Changes by: yselkow...@sourceware.org   2011-10-11 16:53:57

Modified files:
winsup/utils   : ChangeLog utils.sgml 

Log message:
* utils.sgml (getconf): Expand documentation.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/utils/ChangeLog.diff?cvsroot=srcr1=1.565r2=1.566
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/utils/utils.sgml.diff?cvsroot=srcr1=1.95r2=1.96



winsup/cygwin ChangeLog cygwin.din dtable.cc f ...

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

Modified files:
cygwin : ChangeLog cygwin.din dtable.cc fhandler.cc 
 fhandler.h fhandler_console.cc 
 fhandler_termios.cc fhandler_tty.cc syscalls.cc 
 termios.cc 
cygwin/include/cygwin: version.h 
cygwin/include/sys: termios.h 

Log message:
* cygwin.din: Remove some _tc* exports.  Add tcgetsid().
* dtable.cc (fh_alloc): Revert ill-advised setting of major/minor.  Use 
new
is_dev_tty to remember that this device was opened as /dev/tty.
* fhandler.cc (fhandler_base::fstat): Remove leftover debugging 
statement.
(fhandler_base::tcgetsid): New function.
* fhandler.h ((fhandler_base::tcgetsid): Declare new function.
(fhandler_base::is_dev_tty): Ditto.
(fhandler_termios::opened_as_dev_tty): Declare new field.
(fhandler_termios::is_dev_tty): Declare new function.
(fhandler_termios::tcgetsid): Ditto.
(fhandler_pty_common::use_archetype): Move here from subclass.
(fhandler_pty_slave::use_archetype): Move up.
(fhandler_pty_master::use_archetype): Ditto.
* fhandler_console.cc (fhandler_console::ioctl): Rename second argument 
from
`buf' to `arg' for consistency.  Call ioctl_termios for common 
fhandler_termios
ioctl handling.
* fhandler_tty.cc (fhandler_pty_slave::ioctl): Call ioctl_termios for 
common
fhandler_termios ioctl handling.
(fhandler_pty_master::ioctl): Ditto.
* fhandler_termios.cc (fhandler_termios::tcgetsid): Implement new 
function.
(fhandler_termios::ioctl_termios): Ditto.  Implements TIOCSCTTY 
handling.
* syscalls.cc (stat_worker): Set /dev/tty device info when appropriate.
* termios.cc (tcgetpgrp): Avoid extraneous isatty check.
(tcgetsid): Implement new function.
* include/cygwin/version.h: Bump CYGWIN_VERSION_API_MINOR to 253.
* include/sys/termios.h (TIOCSCTTY): Define.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/ChangeLog.diff?cvsroot=uberbaumr1=1.5515r2=1.5516
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/cygwin.din.diff?cvsroot=uberbaumr1=1.246r2=1.247
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/dtable.cc.diff?cvsroot=uberbaumr1=1.234r2=1.235
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/fhandler.cc.diff?cvsroot=uberbaumr1=1.400r2=1.401
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/fhandler.h.diff?cvsroot=uberbaumr1=1.437r2=1.438
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/fhandler_console.cc.diff?cvsroot=uberbaumr1=1.249r2=1.250
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/fhandler_termios.cc.diff?cvsroot=uberbaumr1=1.88r2=1.89
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/fhandler_tty.cc.diff?cvsroot=uberbaumr1=1.240r2=1.241
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/syscalls.cc.diff?cvsroot=uberbaumr1=1.592r2=1.593
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/termios.cc.diff?cvsroot=uberbaumr1=1.38r2=1.39
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/include/cygwin/version.h.diff?cvsroot=uberbaumr1=1.353r2=1.354
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/include/sys/termios.h.diff?cvsroot=uberbaumr1=1.20r2=1.21