diff options
author | Christopher Faylor <me@cgf.cx> | 2005-11-24 05:34:31 +0300 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2005-11-24 05:34:31 +0300 |
commit | 819dbaebd65f8d38cdb5eaf996b8c046e258ce5f (patch) | |
tree | 0c6308ca80081ec0f882734e7f27a8e57d0ce571 /winsup/cygwin/autoload.cc | |
parent | a39cfda7ba28acc3b3c8251c4b61582ed7bbaca6 (diff) |
* 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.
Diffstat (limited to 'winsup/cygwin/autoload.cc')
-rw-r--r-- | winsup/cygwin/autoload.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/winsup/cygwin/autoload.cc b/winsup/cygwin/autoload.cc index a71599db9..0a328c70a 100644 --- a/winsup/cygwin/autoload.cc +++ b/winsup/cygwin/autoload.cc @@ -413,6 +413,7 @@ LoadDLLfuncEx (LsaRegisterLogonProcess, 12, secur32, 1) LoadDLLfunc (CharToOemA, 8, user32) LoadDLLfunc (CharToOemBuffA, 12, user32) LoadDLLfunc (CloseClipboard, 0, user32) +LoadDLLfunc (CloseWindowStation, 4, user32) LoadDLLfunc (CreateWindowExA, 48, user32) LoadDLLfunc (CreateWindowStationA, 16, user32) LoadDLLfunc (DefWindowProcA, 16, user32) |