[Patch]: rlogin problems

Corinna Vinschen vinschen@redhat.com
Wed Jun 23 16:20:00 GMT 2004

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 Vinschen                  Please, send mails regarding Cygwin to
Cygwin Co-Project Leader          mailto:cygwin@cygwin.com
Red Hat, Inc.

More information about the Cygwin-patches mailing list