* fhandler_tty.cc (fhandler_tty_slave::close): Revert previous change.
This commit is contained in:
parent
baa671ea26
commit
7c972c6354
@ -1,3 +1,7 @@
|
||||
2010-04-02 Corinna Vinschen <corinna@vinschen.de>
|
||||
|
||||
* fhandler_tty.cc (fhandler_tty_slave::close): Revert previous change.
|
||||
|
||||
2010-04-02 Christopher Faylor <me+cygwin@cgf.cx>
|
||||
|
||||
* select.h (select_pipe_info::add_watch_handle): Delete declaration.
|
||||
|
@ -629,11 +629,10 @@ fhandler_tty_slave::close ()
|
||||
close this normally. cgf 2006-05-20 */
|
||||
cygheap->manage_console_count ("fhandler_tty_slave::close", -1);
|
||||
|
||||
if (archetype)
|
||||
archetype->usecount--;
|
||||
archetype->usecount--;
|
||||
report_tty_counts (this, "closed", "");
|
||||
|
||||
if (archetype && archetype->usecount)
|
||||
if (archetype->usecount)
|
||||
{
|
||||
#ifdef DEBUGGING
|
||||
if (archetype->usecount < 0)
|
||||
|
Loading…
Reference in New Issue
Block a user