This is the mail archive of the cygwin-patches@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: [Patch]: rlogin problems


On Jun 23 10:05, Warren Young wrote:
> Corinna Vinschen wrote:
> >Very weird that this only affected 9x.
> [...]
> So, under Win2K+ and possibly WinNT as well, any system call should 
> reset the system error code, as happens with errno on that other class 
> of OSes.  That's why you have to set it after the WSACloseEvent() call.

Hmm.  It works on XP (and probably also 2K) even though WSACloseEvent
is called after setting the WSA error code.  So it seems the other way
around.  The successful call to WSACloseEvent does *not* reset the
error code.

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Co-Project Leader          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]