OSDN Git Service

* fhandler.h (fhandler_tty_slave::ttyname): Use name from pc since it is
authorcgf <cgf>
Mon, 8 Dec 2003 06:27:04 +0000 (06:27 +0000)
committercgf <cgf>
Mon, 8 Dec 2003 06:27:04 +0000 (06:27 +0000)
commit42e9f71dd2dc50210eea20bb49d58de24e386171
treed4ba4f00d1eb0835aeb50b7d0ab8dbd9a8b2bdd6
parent25297453c8072d9a167766d22471923a79d30a30
* fhandler.h (fhandler_tty_slave::ttyname): Use name from pc since it is
guaranteed to be accurate.
* fhandler_tty.cc (fhandler_tty_slave::open): Increment open_fhs appropriate
when copying ctty.
(fhandler_tty_slave::close): Remove special case handling for exit_state.  Use
ctty < 0 check instead.
(fhandler_tty_common::close): Set io_handle to NULL after closing.
* syscalls.cc (close_all_files): Specifically close cygheap->ctty, if
appropriate.
winsup/cygwin/ChangeLog
winsup/cygwin/fhandler.h
winsup/cygwin/fhandler_tty.cc
winsup/cygwin/syscalls.cc