* dtable.cc (dtable::release): Avoid messing with console when
closing socket.
This commit is contained in:
parent
7eb971a561
commit
17195d08bc
|
@ -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>
|
Fri Aug 3 14:02:00 2001 Corinna Vinschen <corinna@vinschen.de>
|
||||||
|
|
||||||
* net.cc (cygwin_accept): Allow NULL peer and len parameters.
|
* net.cc (cygwin_accept): Allow NULL peer and len parameters.
|
||||||
|
|
|
@ -158,8 +158,10 @@ dtable::release (int fd)
|
||||||
{
|
{
|
||||||
case FH_SOCKET:
|
case FH_SOCKET:
|
||||||
dec_need_fixup_before ();
|
dec_need_fixup_before ();
|
||||||
|
break;
|
||||||
case FH_CONSOLE:
|
case FH_CONSOLE:
|
||||||
dec_console_fds ();
|
dec_console_fds ();
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
delete fds[fd];
|
delete fds[fd];
|
||||||
fds[fd] = NULL;
|
fds[fd] = NULL;
|
||||||
|
|
Loading…
Reference in New Issue