winsup/cygwin ChangeLog dtable.cc dtable.h exc ...

cgf@sourceware.cygnus.com cgf@sourceware.cygnus.com
Wed Jul 25 17:10:00 GMT 2001


CVSROOT:	/cvs/uberbaum
Module name:	winsup
Changes by:	cgf@sources.redhat.com	2001-07-25 17:10:53

Modified files:
	cygwin         : ChangeLog dtable.cc dtable.h exceptions.cc 
	                 syscalls.cc 

Log message:
	* syscalls.cc (setsid): Detach process from its console if the current
	controlling tty is the console and already closed.
	* dtable.h (class dtable): Add members to count descriptors referring to the
	console.
	* dtable.cc (dtable::dec_console_fds): New function to detach process from its
	console.
	(dtable::release): Decrement the counter of console descriptors.
	(dtable::build_fhandler): Increment it.
	* exception.cc (ctrl_c_handler): Send SIGTERM to myself when catch
	CTRL_SHUTDOWN_EVENT.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/ChangeLog.diff?cvsroot=uberbaum&r1=1.798&r2=1.799
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/dtable.cc.diff?cvsroot=uberbaum&r1=1.41&r2=1.42
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/dtable.h.diff?cvsroot=uberbaum&r1=1.9&r2=1.10
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/exceptions.cc.diff?cvsroot=uberbaum&r1=1.91&r2=1.92
http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/cygwin/syscalls.cc.diff?cvsroot=uberbaum&r1=1.129&r2=1.130



More information about the Cygwin-cvs mailing list