diff options
author | Christopher Faylor <me@cgf.cx> | 2005-11-14 08:36:16 +0300 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2005-11-14 08:36:16 +0300 |
commit | 5a0826c3f84178498d91cd703d97791a691f6b30 (patch) | |
tree | c22575ad34b31a92cad5a2448368327603a63b1d /winsup/cygwin/pinfo.cc | |
parent | 59297e046420341bea04797159ee62b544c2295d (diff) |
* fhandler.h (fhandler_console::fixup_after_fork_exec): Declare new function.
(fhandler_console::fixup_after_fork): Use fixup_after_fork_exec.
(fhandler_console::fixup_after_exec): Ditto.
* fhandler_console.cc (fhandler_console::fixup_after_fork): Delete definition.
(fhandler_console::fixup_after_fork_exec): Rename from fixup_after_exec.
* pinfo.cc (_pinfo::set_ctty): Don't play with console count here.
* syscalls.cc (close_all_files): Don't close cygheap ctty if hExeced since the
child will be copying information from us.
(setsid): Use myctty() rather than raw ctty #.
Diffstat (limited to 'winsup/cygwin/pinfo.cc')
-rw-r--r-- | winsup/cygwin/pinfo.cc | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/winsup/cygwin/pinfo.cc b/winsup/cygwin/pinfo.cc index 7350a00a1..661091954 100644 --- a/winsup/cygwin/pinfo.cc +++ b/winsup/cygwin/pinfo.cc @@ -365,7 +365,6 @@ _pinfo::set_ctty (tty_min *tc, int flags, fhandler_tty_slave *arch) if (arch) { arch->usecount++; - cygheap->manage_console_count ("pinfo::set_ctty", 1); report_tty_counts (cygheap->ctty, "ctty", ""); } } |