<URL: http://bugs.freeciv.org/Ticket/Display.html?id=40297 >

> [cproc - Fri Jun 20 23:54:36 2008]:
> the errno check on EINPROGRESS is fine here, since EINPROGRESS
> and a few other errno values get redefined to their Winsock
> equivalent in netintf.h and the errno variable gets set to the
> result of WSAGetLastError() in my_connect(). In this case the
> problem was a missing check for EWOULDBLOCK in meta_read_response().
> Patch attached.

I don't really like the macro hide-and-seek games and the
writing to the global system errno, but you are probably
right about EWOULDBLOCK, and since I don't have a win32
system to check the changes, I'll take your word for it
that it works. :|


Freeciv-dev mailing list

Reply via email to