* dtable.cc (dtable::release): Avoid messing with console when

closing socket.
This commit is contained in:
Egor Duda 2001-08-04 18:53:53 +00:00
parent 7eb971a561
commit 17195d08bc
2 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2001-08-04 Egor Duda <deo@logos-m.ru>
* dtable.cc (dtable::release): Avoid messing with console when
closing socket.
Fri Aug 3 14:02:00 2001 Corinna Vinschen <corinna@vinschen.de>
* net.cc (cygwin_accept): Allow NULL peer and len parameters.

View File

@ -158,8 +158,10 @@ dtable::release (int fd)
{
case FH_SOCKET:
dec_need_fixup_before ();
break;
case FH_CONSOLE:
dec_console_fds ();
break;
}
delete fds[fd];
fds[fd] = NULL;