diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index a1ac7f334..a823a2367 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,8 @@ +2001-08-04 Egor Duda + + * dtable.cc (dtable::release): Avoid messing with console when + closing socket. + Fri Aug 3 14:02:00 2001 Corinna Vinschen * net.cc (cygwin_accept): Allow NULL peer and len parameters. diff --git a/winsup/cygwin/dtable.cc b/winsup/cygwin/dtable.cc index fccdefb00..c5811692c 100644 --- a/winsup/cygwin/dtable.cc +++ b/winsup/cygwin/dtable.cc @@ -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;