diff options
author | Christopher Faylor <me@cgf.cx> | 2001-11-10 19:46:15 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2001-11-10 19:46:15 +0000 |
commit | c8b345282934affedf2fb4a1e045d12feb7aa850 (patch) | |
tree | ca5dd6599e90d65929b0a0a940acdeb4dc876b21 /winsup/cygwin/net.cc | |
parent | 4d2f5ef1da9610f42f8c8956820ea1dab449749a (diff) | |
download | cygnal-c8b345282934affedf2fb4a1e045d12feb7aa850.tar.gz cygnal-c8b345282934affedf2fb4a1e045d12feb7aa850.tar.bz2 cygnal-c8b345282934affedf2fb4a1e045d12feb7aa850.zip |
* 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.
Diffstat (limited to 'winsup/cygwin/net.cc')
-rw-r--r-- | winsup/cygwin/net.cc | 1 |
1 files changed, 0 insertions, 1 deletions
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; |