Mailing-List: contact cygwin-developers-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-developers-owner AT cygwin DOT com Delivered-To: mailing list cygwin-developers AT cygwin DOT com Date: Fri, 7 Mar 2003 17:18:03 +0100 From: Corinna Vinschen To: "cygwin-developers AT cygwin DOT com" Subject: Re: [Fwd: Re: exim fclose() warning message (was Re: 1.3.21)] Message-ID: <20030307161803.GA1193@cygbert.vinschen.de> Reply-To: cygwin-developers AT cygwin DOT com Mail-Followup-To: "cygwin-developers AT cygwin DOT com" References: <3E68B63E DOT CC299937 AT ieee DOT org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3E68B63E.CC299937@ieee.org> User-Agent: Mutt/1.4i 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.