2013-08-26 15:51 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)

* src/rtl/hbsocket.c
    ! fixed hb_socketConnect() with timeout in DOS Watt-32 builds.
      Watt-32 sets socket error to EISCONN when connection is established.
This commit is contained in:
Przemysław Czerpak
2013-08-26 15:51:57 +02:00
parent ea60542664
commit 0b4c999bb5
2 changed files with 9 additions and 0 deletions

View File

@@ -10,6 +10,11 @@
* Change, ! Fix, % Optimization, + Addition, - Removal, ; Comment
*/
2013-08-26 15:51 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* src/rtl/hbsocket.c
! fixed hb_socketConnect() with timeout in DOS Watt-32 builds.
Watt-32 sets socket error to EISCONN when connection is established.
2013-08-23 14:25 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* src/rtl/fstemp.c
! fixed casting for DOS C++ builds

View File

@@ -1650,6 +1650,10 @@ static int hb_socketSelectWRE( HB_SOCKET sd, HB_MAXINT timeout )
iResult = -1;
iError = HB_SOCK_GETERROR();
}
#if defined( HB_OS_DOS )
else if( iError == EISCONN )
iError = 0;
#endif
else if( iError != 0 )
iResult = -1;