OSDN Git Service

* fhandler_tty.cc (fhandler_tty_slave::open): Reset the current windows station
authorcgf <cgf>
Thu, 24 Nov 2005 02:34:31 +0000 (02:34 +0000)
committercgf <cgf>
Thu, 24 Nov 2005 02:34:31 +0000 (02:34 +0000)
commit305dc271439289801a1042e3319b0cd3bccdf84a
treec0c978bda7b4efb221a6b9c8f3878e6aff98117d
parent79abefaa36c2b4dbed3801c96bf53f9798c981f6
* fhandler_tty.cc (fhandler_tty_slave::open): Reset the current windows station
whenever ctty == -1 regardles of whetehr there's a windows station already
assigned.  Close the old windows station in this situation.
* pinfo.cc (_pinfo::set_ctty): Reinstate incrementing of console count when
recording ctty so that the current tty is always around.
winsup/cygwin/ChangeLog
winsup/cygwin/autoload.cc
winsup/cygwin/fhandler_tty.cc
winsup/cygwin/pinfo.cc