This is the mail archive of the cygwin-cvs@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


CVSROOT:	/cvs/uberbaum
Module name:	winsup
Changes by:	cgf@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=uberbaum&r1=1.5515&r2=1.5516
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/cygwin.din.diff?cvsroot=uberbaum&r1=1.246&r2=1.247
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/dtable.cc.diff?cvsroot=uberbaum&r1=1.234&r2=1.235
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/fhandler.cc.diff?cvsroot=uberbaum&r1=1.400&r2=1.401
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/fhandler.h.diff?cvsroot=uberbaum&r1=1.437&r2=1.438
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/fhandler_console.cc.diff?cvsroot=uberbaum&r1=1.249&r2=1.250
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/fhandler_termios.cc.diff?cvsroot=uberbaum&r1=1.88&r2=1.89
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/fhandler_tty.cc.diff?cvsroot=uberbaum&r1=1.240&r2=1.241
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/syscalls.cc.diff?cvsroot=uberbaum&r1=1.592&r2=1.593
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/termios.cc.diff?cvsroot=uberbaum&r1=1.38&r2=1.39
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/include/cygwin/version.h.diff?cvsroot=uberbaum&r1=1.353&r2=1.354
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/include/sys/termios.h.diff?cvsroot=uberbaum&r1=1.20&r2=1.21


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]