This is the mail archive of the cygwin-developers@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [corinna-cygwin@cygwin.com: Re: ENOTSOCK errors with cygwin dll 1.3.21 and 1.3.22]


On Wed, May 28, 2003 at 09:54:39AM -0400, Pierre A. Humblet wrote:
> Corinna Vinschen wrote:
> > 
> > On Wed, May 28, 2003 at 09:14:52AM -0400, Pierre A. Humblet wrote:
> > > Another test, more direct, would be to point prot_info_ptr to a dynamic
> > > (on the stack) WSAPROTOCOL_INFOA structure during the dup operation,
> > > and to restore it to point to the cygheap area at the end of the dup.
> > > If it works, we know the problem is somehow related to the cygheap
> > > and we can start looking it it.
> > 
> > Nope.  No change.
> > 
> > Corinna
> > 
> Sorry to ask, just in case: you changed the prot_info_ptr of the child,
> not the one of the parent?

What parent/child relationship are you talking about?  I'm still using
Jason's application for testing which creates a socket, switches user
context, dup's and the closes the dup'd socket.  The problem happens
in dup() which doesn't involve any second process.  Btw., on *my* box
the problem happens in *both* cases, started from cmd as well as from
tcsh.

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin@cygwin.com
Red Hat, Inc.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]