From c8b345282934affedf2fb4a1e045d12feb7aa850 Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Sat, 10 Nov 2001 19:46:15 +0000 Subject: * dtable.cc (dtable::build_fhandler): Don't increment console fd count if new operation fails. Increment fork_fixup field here. (dtable::dup2): Don't increment fork_fixup field here. (fdsock): Ditto. --- winsup/cygwin/net.cc | 1 - 1 file changed, 1 deletion(-) (limited to 'winsup/cygwin/net.cc') diff --git a/winsup/cygwin/net.cc b/winsup/cygwin/net.cc index 445a35327..c14a04c53 100644 --- a/winsup/cygwin/net.cc +++ b/winsup/cygwin/net.cc @@ -505,7 +505,6 @@ fdsock (int& fd, const char *name, SOCKET soc) fhandler_socket *fh = (fhandler_socket *) cygheap->fdtab.build_fhandler (fd, FH_SOCKET, name); fh->set_io_handle ((HANDLE) soc); fh->set_flags (O_RDWR); - cygheap->fdtab.inc_need_fixup_before (); fh->set_name (name, name); debug_printf ("fd %d, name '%s', soc %p", fd, name, soc); return fh; -- cgit v1.2.3