diff options
author | Christopher Faylor <me@cgf.cx> | 2003-12-30 01:57:16 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2003-12-30 01:57:16 +0000 |
commit | 8ed5c9b6297dce0115a462e6ae1a644a9a278bdb (patch) | |
tree | 473e2145a60c105c2375886d95fe3c675220af25 /winsup/cygwin/cygheap.cc | |
parent | e97377932b06f0993df95c7c7877474ec20ff74d (diff) | |
download | newlib-8ed5c9b6297dce0115a462e6ae1a644a9a278bdb.zip newlib-8ed5c9b6297dce0115a462e6ae1a644a9a278bdb.tar.gz newlib-8ed5c9b6297dce0115a462e6ae1a644a9a278bdb.tar.bz2 |
Move open_fhs from fhandler.h to cygheap.h for easier tracking. Accommodate
this change throughout.
* dtable.cc (dtable::add_archetype): Use correct count when iterating through
*active* archetypes.
* dtable.cc (dtable::fixup_after_exec): Close handle if close_on_exec and
archetype exists since archetype currently does not set windows close-on-exec
flag (FIXME).
* fhandler_tty.cc (fhandler_tty_slave::open): Change debugging output slightly.
(fhandler_tty_slave::close): Ditto.
(fhandler_tty_slave::fixup_after_fork): Just report on inherited use counts
since since archetype currently does not set windows close-on-exec flag
(FIXME).
* pinfo.cc (_pinfo::set_ctty): Change debugging output slightly.
* cygheap.cc (cygheap_init): Remove open_fhs accommodation and use count
reporting.
* perthread.h (vfork_save::fhctty): New element.
* perthread.h (vfork_save::open_fhs): New element.
* fork.cc (vfork): Muck around with ctty and open_fhs stuff, both of which are
now saved in the vfork_save structure.
Diffstat (limited to 'winsup/cygwin/cygheap.cc')
-rw-r--r-- | winsup/cygwin/cygheap.cc | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/winsup/cygwin/cygheap.cc b/winsup/cygwin/cygheap.cc index 54b645f..6859e43 100644 --- a/winsup/cygwin/cygheap.cc +++ b/winsup/cygwin/cygheap.cc @@ -212,11 +212,6 @@ cygheap_init () && (set_process_privilege (SE_CREATE_GLOBAL_NAME, true) >= 0 || GetLastError () == ERROR_NO_SUCH_PRIVILEGE) ? "Global\\" : ""); - if (cygheap->ctty) - { - fhandler_console::open_fhs++; - report_tty_counts (cygheap->ctty, "inherited", "incremented ", "unchanged "); - } } /* Copyright (C) 1997, 2000 DJ Delorie */ |