Re: errno and Windows

2004-11-30 Thread Mauro Tortonesi
Alle 14:59, sabato 27 novembre 2004, Gisle Vanem ha scritto: Wget incorrectly tests 'errno' after network calls on Windows. 'errno' is *not* set on failure. One must use WSAGetLastError() for this. I've added a SET/GET_ERRNO() macro to do this more portably. I sent this patch to Wget

Re: errno and Windows

2004-11-27 Thread Gisle Vanem
Wget incorrectly tests 'errno' after network calls on Windows. 'errno' is *not* set on failure. One must use WSAGetLastError() for this. I've added a SET/GET_ERRNO() macro to do this more portably. I sent this patch to Wget-patches a week ago, but heard nothing. Isn't there not anybody monitoring