Mail Archives: cygwin-developers/2003/03/07/11:18:07
On Fri, Mar 07, 2003 at 10:09:51AM -0500, Pierre A. Humblet wrote:
> The third log shows that the dup call fails at the wsock level
> but Cygwin doesn't care and reports a success !!!
> [...]
> 94 94227 [main] sc11 2676 dtable::dup2: dup2 (4, 5)
>
> 107 94334 [main] sc11 2676 dtable::build_fhandler: fd -1, fh 0x61600A00
>
> 101 94435 [main] sc11 2676 fhandler_socket::dup: here
>
> 276 94711 [main] sc11 2676 fhandler_socket::fixup_before_fork_exec: WSADuplicateSocket error, sock 0x1A8, win_proc_id 2676, prot_info_ptr 0x61601DC0
>
> 185 94896 [main] sc11 2676 __set_winsock_errno: fixup_before_fork_exec:328 - winsock error 10022 -> errno 22
Invalid argument?!? Why invalid argument?
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Developer mailto:cygwin AT cygwin DOT com
Red Hat, Inc.
- Raw text -