This is the mail archive of the
cygwin-patches@cygwin.com
mailing list for the Cygwin project.
Re: fhandler_socket::dup
On Mon, Mar 10, 2003 at 08:09:02PM -0500, Pierre A. Humblet wrote:
> Corinna,
>
> Here is a patch to have fhandler_socket::dup return success
> or failure (related to the problem seen by Jason Tishler).
Thanks. We still don't know *why* that happens, though. That bugs me.
Anyway, I've made a change to fhandler_socket::dup() so that dup always
uses DuplicateHandle instead of the WinSock2 duplication methods.
Now it works. :-P
I'm seriously concidering to remove all the fixup_before/fixup_after
from fhandler_socket::dup() and just call fhandler_base::dup() on
NT systems.
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Developer mailto:cygwin at cygwin dot com
Red Hat, Inc.