OSDN Git Service

* fhandler.h (fhandler_tty_slave::archetype): Make public.
authorcgf <cgf>
Sat, 27 Dec 2003 17:41:17 +0000 (17:41 +0000)
committercgf <cgf>
Sat, 27 Dec 2003 17:41:17 +0000 (17:41 +0000)
commit740df9edfe971a21c338115d7b0ac6b53edeb240
tree5692951e1512d3d7923b41c883979df7995261a5
parent70baab6ed32a53ed164c66d3ab92fe77a294130f
* fhandler.h (fhandler_tty_slave::archetype): Make public.
(report_tty_counts): New macro.  Use throughout for reporting tty use counts.
* dtable.cc (dtable::vfork_child_dup): Add debugging output for usecount
increment.  Increment open_fhs if appropriate.
(dtable::vfork_parent_restore): "Close" artificially bumped ctty.
(dtable::vfork_child_fixup): Close ctty since it was bumped prior to vfork.
Save open_fhs around close since the closing of these handles has no effect on
the console.
* fhandler_tty.cc (fhandler_tty_slave::open): Reorganize calls to allow for
easier tracking of usecount modification.
(fhandler_tty_slave::open): Ditto.
winsup/cygwin/ChangeLog
winsup/cygwin/cygheap.cc
winsup/cygwin/dtable.cc
winsup/cygwin/fhandler.h
winsup/cygwin/fhandler_tty.cc
winsup/cygwin/pinfo.cc