[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Bug Report and Patch for 2-0.99.3 WIN32
From: |
Mike Bresnahan |
Subject: |
Bug Report and Patch for 2-0.99.3 WIN32 |
Date: |
Mon, 6 May 2002 19:30:22 -0500 |
I ran into a compilation error compiling GNU Common C++ 2-0.99.3 with Visual
C++ 6.0 on Windows 2000 SP2. Below is the patch I applied to fix the
problem. I have not tested the patch extensively.
*** commoncpp2-0.99.3/src/socket.cpp Mon May 6 19:25:18 2002
--- tmp/commoncpp2-0.99.3/src/socket.cpp Fri Mar 22 09:44:20 2002
***************
*** 953,963 ****
break;
}
! #ifdef WIN32
! if( WSAGetLastError() == WSAEINPROGRESS)
! #else
! if(errno == EINPROGRESS)
! #endif
{
FD_ZERO(&fds);
FD_SET(so, &fds);
--- 953,959 ----
break;
}
! if(errno == EINPROGRESS)
{
FD_ZERO(&fds);
FD_SET(so, &fds);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Bug Report and Patch for 2-0.99.3 WIN32,
Mike Bresnahan <=