From fc79ce17c732e039361c0f85c2b2e31446c19991 Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Tue, 30 Oct 2001 10:07:39 +0000 Subject: [PATCH] * (fhandler_socket::dup): Revert previous change. --- winsup/cygwin/ChangeLog | 4 ++++ winsup/cygwin/fhandler_socket.cc | 2 -- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index efe6926da..063ab3c1f 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,7 @@ +2001-10-30 Corinna Vinschen + + * (fhandler_socket::dup): Revert previous change. + 2001-10-30 Christopher Faylor * dtable.cc (dtable::dup2): Add some debugging. Use methods from diff --git a/winsup/cygwin/fhandler_socket.cc b/winsup/cygwin/fhandler_socket.cc index 9784118d5..638611876 100644 --- a/winsup/cygwin/fhandler_socket.cc +++ b/winsup/cygwin/fhandler_socket.cc @@ -232,8 +232,6 @@ fhandler_socket::dup (fhandler_base *child) fhs->addr_family = addr_family; fhs->set_io_handle (get_io_handle ()); - fhs->prot_info_ptr = (LPWSAPROTOCOL_INFOA) - cmalloc (HEAP_BUF, sizeof (WSAPROTOCOL_INFOA)); fhs->fixup_before_fork_exec (GetCurrentProcessId ()); if (winsock2_active) {